protected override void ModelSpecificInitialization() { ColorPalett colorPalett = ConfigurationColorPaletts.Instance.GetColorPalett("Team " + Team); SpriteColor1.GetComponent <SpriteRenderer>().color = colorPalett.GetColor(1); SpriteColor5.GetComponent <SpriteRenderer>().color = colorPalett.GetColor(5); }
protected override void ModelSpecificInitialization() { transform.localRotation = Quaternion.identity; ColorPalett colorPalett = ConfigurationColorPaletts.Instance.GetColorPalett("Team " + Team); SpriteColor1.GetComponent <SpriteRenderer>().color = colorPalett.GetColor(1); SpriteColor5.GetComponent <SpriteRenderer>().color = colorPalett.GetColor(5); }
public void Initialize(MineAttackManager manager) { Manager = manager; ColorPalett colorPalett = ConfigurationColorPaletts.Instance.GetColorPalett("Team " + Manager.Attacker.Team); SpriteColor1.GetComponent <SpriteRenderer>().color = colorPalett.GetColor(1); SpriteColor5.GetComponent <SpriteRenderer>().color = colorPalett.GetColor(5); StartCoroutine("Blink"); }