Class BladeTrigger
- Namespace
- VoxelPlayground.Entity
- Assembly
- GamePlay.dll
public class BladeTrigger : MonoBehaviour
- Inheritance
-
object
BladeTrigger
- Extension Methods
-
Fields
angular
Field Value
- float
public Transform bladeColliderTransform
Field Value
- Transform
cutHardnessCap
public int cutHardnessCap
Field Value
- int
damageVoxel
[InfoBox("是否修改破坏块", InfoMessageType.Info, null)]
public bool damageVoxel
Field Value
- bool
disableColliderOnHit
public bool disableColliderOnHit
Field Value
- bool
enabledDirs
public bool[] enabledDirs
Field Value
- bool[]
enableSliceOut
[InfoBox("插入后会随重力自然滑落", InfoMessageType.Info, null)]
public bool enableSliceOut
Field Value
- bool
public JointInfoData extraJointData
Field Value
- JointInfoData
force
Field Value
- float
forceDir
Field Value
- Vector3
go
Field Value
- bool
hitDetectionBox
public BoxCollider hitDetectionBox
Field Value
- BoxCollider
materialID
Field Value
- uint
OnAttached
public Action<HitInfo> OnAttached
Field Value
- Action<HitInfo>
poisonRadius
public float poisonRadius
Field Value
- float
shadowGo
public GameObject shadowGo
Field Value
- GameObject
sharpness
Field Value
- float
Used
Field Value
- bool
Properties
bladeCollider
public BoxCollider bladeCollider { get; }
Property Value
- BoxCollider
isStabbingEntity
public bool isStabbingEntity { get; }
Property Value
- bool
Methods
Reset()
SetColliderEnable(bool)
public void SetColliderEnable(bool enable)
Parameters
enable bool