//碰撞检测开始 public void BeginCollide(Vector3 aPos) { m_result = m_result ?? new ColliderContent(); m_result.Clear(); this.center = aPos; m_result.owner = this; }
public void Clear() { m_result?.Clear(); m_shapes?.Clear(); }