private void Start()
 {
     if (triggerEnter != null)
     {
         triggerEnter.Subscribe(Enter);
     }
     if (triggerExit != null)
     {
         triggerExit.Subscribe(Exit);
     }
 }
Example #2
0
 private void Start()
 {
     triggerEvent.Subscribe(TriggerEvent_Invoked);
 }
 private void Start()
 {
     triggerEvent.Subscribe(NewDownDirection);
 }
 private void Awake()
 {
     triggerEvent.Subscribe(Fire);
 }
Example #5
0
 private void Start()
 {
     triggerEvent.Subscribe(DoDestroy);
 }
 private void Start()
 {
     triggerEvent.Subscribe(Fire);
 }