Пример #1
0
 public virtual void Release()
 {
     Held = false;
     OnHeldState?.Invoke(false);
     if (hud)
     {
         hud.SetActive(false);
     }
 }
Пример #2
0
 public virtual void Grab()
 {
     Held = true;
     OnHeldState?.Invoke(true);
     if (hud)
     {
         hud.SetActive(true);
     }
 }