예제 #1
0
 public void Awake()
 {
     _setupPlayer  = GetComponent <SetupPlayer>();
     m_Rigidbody   = GetComponent <Rigidbody>();
     m_PlayerInfo  = GetComponent <PlayerInfo>();
     EngineStarted = true;
 }
예제 #2
0
 private void Awake()
 {
     _setupPlayer = GetComponent <SetupPlayer>();
 }