// Use this for initialization void Start() { m_Rigidbody = GetComponent <Rigidbody> (); m_RotateOnMouseDrag = GetComponent <RotateOnMouseDrag> (); m_Rigidbody.velocity = transform.forward * m_InitialSpeed; m_NotScaledVelocity = m_Rigidbody.velocity; m_PrevTimeScale = Time.timeScale; }
// Use this for initialization void Start () { m_Rigidbody = GetComponent<Rigidbody> (); m_RotateOnMouseDrag = GetComponent<RotateOnMouseDrag> (); m_Rigidbody.velocity = transform.forward * m_InitialSpeed; m_NotScaledVelocity = m_Rigidbody.velocity ; m_PrevTimeScale = Time.timeScale; }