ButtonTurnsOn() public method

public ButtonTurnsOn ( ) : void
return void
Example #1
0
 void OnTriggerEnter(Collider collider)
 {
     toggle.ButtonTurnsOn();
     effect.gameObject.GetComponent <ParticleRenderer> ().enabled = true;
     str = enhance.GetComponent <EnhancelScrollView> ().centerItem.name.ToString();
     //Debug.Log ("asdfasdfasvafcd");
     FileLoad.getFileLoadInstance().setEnhance(str);
 }
    // Use this for initialization

    void OnTriggerEnter(Collider collider)
    {
        toggle.ButtonTurnsOn();
        effect.gameObject.GetComponent <ParticleRenderer> ().enabled = true;
    }