예제 #1
0
    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);
    }
예제 #2
0
    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);
    }
예제 #3
0
    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");
    }