Ejemplo n.º 1
0
 void Awake()
 {
     EventNodePriority = 20;
     mInstance = this;
     if (EventNodeCore.Instance)
     {
         EventNodeCore.Instance.AttachEventNode(this);
     }
 }
Ejemplo n.º 2
0
 // Awake is called when the script instance is being loaded.
 void Awake()
 {
     mInstance = this;
     base.EventNodePriority = 20;
     if (EventNodeCore.Instance)
     {
         EventNodeCore.Instance.AttachEventNode(this);
     }
 }