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); } }
public override void RegisterClick(ClickableObjectComponent wasClicked) { CountClick(); if (!m_LightOn) { On(); } else { Off(); } }
public override void RegisterClick(ClickableObjectComponent wasClicked) { CountClick(); PlayPause(); }
public override void RegisterClick(ClickableObjectComponent wasClicked) { CountClick(); CycleText(); }
public virtual void RegisterClick(ClickableObjectComponent wasClicked) { }
public override void RegisterClick(ClickableObjectComponent wasClicked) { CountClick(); ClickMachine(); }