Exemplo n.º 1
0
 private void Awake()
 {
     uiKnivesAndScore = this;
     appleHitEvent.AddListener(AppleHitting);
     onFireEvent.AddListener(Shot);
     onWheelHitEvent.AddListener(WheelHit);
     OnKnifeHit.AddListener(KnifeHit);
 }
Exemplo n.º 2
0
 public void CallOnKnifeHit(EventData ob = null) => OnKnifeHit?.Invoke(ob);