void Awake()
 {
     if (instance != null)
     {
         Destroy(gameObject);
         return;
     }
     instance = this;
 }
Example #2
0
 void Awake()
 {
     mask = this.transform.parent.GetComponent <MaskDudeController>();
 }