void OnDrawGizmos() { if(root != null) { root.DrawAll(); } Gizmos.color = Color.red; for(int i = 0; i < mCollisionList.Count; i++) { root.DrawRegion(mCollisionList[i].mRect); } }