예제 #1
0
 // 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;
 }
예제 #2
0
	// 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;
	}