private void DeleteAllGravityBody() { GravityBody.CollectAllGB(); foreach (GravityBody gb in GravityBody.AllBodies) { DestroyImmediate(gb.gameObject); } }
private void DeleteAllGravityBody() { GravityBody.CollectAllGB(); foreach (GravityBody gb in GravityBody.AllBodies) { DestroyImmediate(gb.gameObject); } }