Example #1
0
 //------------------------------------------------------------------------------------------------------------------------
 //														Render
 //------------------------------------------------------------------------------------------------------------------------
 /// <summary>
 /// Get all a list of all objects that currently overlap this one.
 /// Calling this method will test collisions between this object and all other colliders in the scene.
 /// It can be called mid-step and is included for convenience, not performance.
 /// </summary>
 public GameObject[] GetCollisions()
 {
     return(game.GetGameObjectCollisions(this));
 }