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