Пример #1
0
        public void AddCollider(VRM10SpringBoneCollider collider)
        {
            if (collider == null)
            {
                Debug.LogWarning("null collider");
                return;
            }

            if (m_colliders == null)
            {
                m_colliders = new List <VRM10SpringBoneCollider>();
            }
            m_colliders.Add(collider);
        }
Пример #2
0
 void OnEnable()
 {
     _target = target as VRM10SpringBoneCollider;
 }