Пример #1
0
 virtual public void Activate()
 {
     isActivated = true;
     GetComponent <Renderer>().material = activeMat;
     myUnlock.CheckUnlocked();
     if (mySource)
     {
         mySource.Play();
     }
 }