public void StartInputMode(UnitPlayer _Player) { m_HasStartedShaking = true; m_LastValue = Input.acceleration.z; m_TimeGoingTheSameDirection = 0; m_TimerBeforeCanChangeDirection = 0; m_WasGoingForward = true; UserInterface.ActivateBellRing(true); UserInterface.SetBellRing(); }
public void EndInputMode(UnitPlayer _Player) { UserInterface.ActivateBellRing(false); }
public void StartInputMode(UnitPlayer _Player) { UserInterface.ActivateBellRing(true); UserInterface.SetBellRing(); m_TimesShaked = 0; }
public void EndInputMode(UnitPlayer _Player) { UserInterface.ActivateBellRing(false); m_HasStartedShaking = false; }