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