public void StartShake() { float?holdAtTime = null; if (this.m_Hold) { holdAtTime = new float?(this.m_HoldAtSec); } CameraShakeMgr.Shake(Camera.main, this.m_Amount, this.m_IntensityCurve, holdAtTime); }
private void Finished() { SoundManager.Get().Play(this.m_ImpactSound); CameraShakeMgr.Shake(Camera.main, new Vector3(0.15f, 0.15f, 0.15f), 0.9f); }