예제 #1
0
 public override void RegisterClick(ClickableObjectComponent wasClicked)
 {
     CountClick();
     if (!player.m_holdingProp)
     {
         GiveMeToPlayer();
     }
 }
 public override void RegisterClick(ClickableObjectComponent wasClicked)
 {
     CountClick();
     if (!m_buttonClickSounder.isPlaying)
     {
         m_buttonClickSounder.PlayOneShot(m_buttonClickSounder.clip);
     }
 }
예제 #3
0
 public override void RegisterClick(ClickableObjectComponent wasClicked)
 {
     CountClick();
     if (!m_LightOn)
     {
         On();
     }
     else
     {
         Off();
     }
 }
예제 #4
0
 public override void RegisterClick(ClickableObjectComponent wasClicked)
 {
     CountClick();
     PlayPause();
 }
 public override void RegisterClick(ClickableObjectComponent wasClicked)
 {
     CountClick();
     CycleText();
 }
예제 #6
0
 public virtual void RegisterClick(ClickableObjectComponent wasClicked)
 {
 }
예제 #7
0
 public override void RegisterClick(ClickableObjectComponent wasClicked)
 {
     CountClick();
     ClickMachine();
 }