Exemplo n.º 1
0
 // Use this for initialization
 private void Start()
 {
     m_CharacterController = GetComponent <CharacterController>();
     m_Camera = m_FirstPersonCamera.GetComponent <Camera>();
     m_OriginalCameraPosition = m_Camera.transform.localPosition;
     m_StepCycle   = 0f;
     m_NextStep    = m_StepCycle / 2f;
     m_Jumping     = false;
     m_AudioSource = GetComponent <AudioSource>();
 }