public void CaptureCall(Faction faction) { CapturePower = 0; gameObject.transform.GetChild(0).GetComponent <SpriteRenderer>().color = faction.inGameID_Col; faction.CapturedTilesAdd(this.GetComponent <TerrainProperty>()); }
public void CaptureCall(Faction faction) { CapturePower = 0; gameObject.transform.GetChild(0).GetComponent <SpriteRenderer>().color = faction.inGameID_Col; faction.CapturedTilesAdd(this.GetComponent <TerrainProperty>()); }