源战役客户端
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

34 lines
693 B

using UnityEngine;
public class DynamicBoneColliderBase : MonoBehaviour
{
public enum Direction
{
X, Y, Z
}
#if UNITY_5
[Tooltip("The axis of the capsule's height.")]
#endif
public Direction m_Direction = Direction.Y;
#if UNITY_5
[Tooltip("The center of the sphere or capsule, in the object's local space.")]
#endif
public Vector3 m_Center = Vector3.zero;
public enum Bound
{
Outside,
Inside
}
#if UNITY_5
[Tooltip("Constrain bones to outside bound or inside bound.")]
#endif
public Bound m_Bound = Bound.Outside;
public virtual void Collide(ref Vector3 particlePosition, float particleRadius)
{
}
}