protected override void Awake() { base.Awake(); gameController = FindObjectOfType <GameController>(); replacer = FindObjectOfType <TileReplacer>(); }
private void DestroyThisStructure() { TileReplacer replacer = FindObjectOfType <TileReplacer>(); replacer.DestroyStructure(gameObject); }