コード例 #1
0
 public override void RegisterClick(ClickableObjectComponent wasClicked)
 {
     CountClick();
     if (!player.m_holdingProp)
     {
         GiveMeToPlayer();
     }
 }
コード例 #2
0
 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();
 }
コード例 #5
0
 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();
 }