コード例 #1
0
        public void DestroyRagdollComponent(LimbsController limbController)
        {
            if (localCharacterJoint != null)
            {
                Destroy(localCharacterJoint);
            }

            Destroy(localCollider);
            Destroy(localRigidBody);
            limbController.ragdollComponentControllers.Remove(this);
            Destroy(this);
        }
コード例 #2
0
 public override void Init()
 {
     limbsController = GetComponentInParent <LimbsController>();
 }