Exemplo n.º 1
0
 public void Start()
 {
     // init attributes
     worldMap = GlobalManager.GetGroundTileMap();
     worldMap.CompressBounds();
     sprite    = GetComponent <SpriteRenderer>();
     initColor = sprite.color;
 }