Esempio n. 1
0
    // and just as before add those as callbacks to the actions
    private void Awake()
    {
        OnContactBegin -= OnContactBeginInvokeEvent;
        OnContactBegin += OnContactBeginInvokeEvent;

        OnPerControllerContactBegin     -=
            OnPerControllerContactBegin +=
    }
 private void OnDestroy()
 {
     OnContactBegin -= OnContactBeginInvokeEvent;
     OnPerControllerContactBegin -= OnPerControllerContactBeginInvokeEvent;
 }