Exemple #1
0
 private void Awake()
 {
     m_playerTotalVelocity = transform.parent.parent.GetComponent(typeof(PlayerTotalVelocity)) as PlayerTotalVelocity;
 }
Exemple #2
0
 private void Awake()
 {
     m_talking       = GetComponent(typeof(Talking)) as Talking;
     m_totalVelocity = transform.parent.parent.GetComponent(typeof(PlayerTotalVelocity)) as PlayerTotalVelocity;
 }
Exemple #3
0
 private void Awake()
 {
     m_playerTotalVelocity = transform.parent.parent.GetComponent(typeof(PlayerTotalVelocity)) as PlayerTotalVelocity;
     m_inputController     = transform.parent.parent.GetComponent(typeof(InputController)) as InputController;
     m_playerTransform     = transform.parent.parent;
 }
Exemple #4
0
 private void Awake()
 {
     m_playerGroundChecks  = GetComponent(typeof(GroundChecks)) as GroundChecks;
     m_playerTotalVelocity = GetComponent(typeof(PlayerTotalVelocity)) as PlayerTotalVelocity;
 }