Example #1
0
 private void Awake()
 {
     ColliderInfo = new ColliderInfo
     {
         IsGlobal  = isGlobal,
         Center    = center,
         Radius    = radius,
         Height    = height,
         Direction = direction,
         Bound     = bound,
         Scale     = transform.lossyScale.x,
     };
     DynamicBoneManager.Instance.AddCollider(this);
     hasInitialized = true;
 }