Beispiel #1
0
 public void Setup(Action tap, Action hold, Action release)
 {
     tapAction        = tap;
     holdAction       = hold;
     prereleaseAction = release;
     TimerMonoHook.Create(Update);
 }
Beispiel #2
0
 public void Setup(Action tap, Action hold)
 {
     tapAction  = tap;
     holdAction = hold;
     TimerMonoHook.Create(Update);
 }
Beispiel #3
0
 public void CreateHook()
 {
     madeHook = true;
     hook     = TimerMonoHook.Create(Update);
 }
Beispiel #4
0
 public void SetupTapOnly(Action tap)
 {
     tapAction = tap;
     TimerMonoHook.Create(Update);
 }
Beispiel #5
0
 public void AttachHookToObj(GameObject obj)
 {
     madeHook = true;
     hook     = TimerMonoHook.Create(Update, obj);
 }