示例#1
0
 public Collision(CollisionDetectionElement collider1, CollisionDetectionElement collider2, Vector3 normal1, Vector3 normal2)
 {
     m_1 = collider1;
     m_2 = collider2;
     m_normal1 = normal1;
     m_normal2 = normal2;
 }
示例#2
0
 public void removeCollider(CollisionDetectionElement collider)
 {
     m_colliders.Remove(collider);
 }
示例#3
0
 public void addCollider(CollisionDetectionElement collider)
 {
     m_colliders.Add(collider);
 }
示例#4
0
 public CollisionEventArgs(CollisionDetectionElement collider)
 {
     m_otherCollider = collider;
 }