コード例 #1
0
 // Use this for initialization
 void Start()
 {
     body = transform.GetComponentInChildren<CarPhysicsController>();
     nodeToFollow = transform.GetComponentInChildren<FollowPathV2>();
 }
コード例 #2
0
 private void StartSound()
 {
     m_CarController = GetComponent<CarPhysicsController>();
         m_HighAccel = SetUpEngineAudioSource(AccelClip);
         m_StartedSound = true;
 }
コード例 #3
0
 private void StartSound()
 {
     m_CarController = GetComponent <CarPhysicsController>();
     m_HighAccel     = SetUpEngineAudioSource(AccelClip);
     m_StartedSound  = true;
 }
コード例 #4
0
 // Use this for initialization
 void Start()
 {
     body         = transform.GetComponentInChildren <CarPhysicsController>();
     nodeToFollow = transform.GetComponentInChildren <FollowPathV2>();
 }