Exemplo n.º 1
0
 static public void DrawSprite(Vector3 center, float size, Sprite sprite)
 {
     GizmosExtensions.DrawSprite(
         center,
         new Vector2(size, sprite.GetAspect() * size),
         sprite
         );
 }
Exemplo n.º 2
0
 static public void DrawSprite(Vector3 center, Sprite sprite)
 {
     GizmosExtensions.DrawSprite(center, sprite.GetWorldSize(), sprite);
 }