void Awake() { if (instance != null && instance != this) { Destroy(this.gameObject); } else { instance = this; } }
// Start is called before the first frame update void Start() { tileIndicatorScript = TileIndicator.GetComponent <TargettedTileController>(); }