Exemplo n.º 1
0
 public void redPower()
 {
     ChangeColor(Color.red);
     color = Color.red;
     tilePickupAudio.PlayOneShot(mm.redAudio);
     Icon.GetComponent <Image>().color  = Color.white;
     Icon.GetComponent <Image>().sprite = Icon.Drill;
 }
Exemplo n.º 2
0
    public void redPower()
    {
        ChangeColor(Color.red);
        color = Color.red;
        tilePickupAudio.PlayOneShot(mm.redAudio);
        Icon.GetComponent <Image>().color  = Color.white;
        Icon.GetComponent <Image>().sprite = Icon.Drill;
        robotAbilty.text  = "Blast";
        robotAbilty.color = Color.red;
        Abilty.color      = Color.red;
        if (Chat)
        {
            Chat.color = Color.red;
        }

        max02.color = Color.red;
        tilePickupAudio.PlayOneShot(mm.ability);

        if (chat)
        {
            cc.chat.text = "Red power is inside me! I can blast red objects now!";
        }
    }