Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     //Isgameover = GameObject.FindGameObjectWithTag("plane").GetComponent<GameOver>();
     win = false;
     ThirdPersonUserControl_blue = GameObject.FindGameObjectWithTag("blue").GetComponent<UnitySampleAssets.Characters.ThirdPerson.ThirdPersonUserControl>();
     ThirdPersonUserControl_red = GameObject.FindGameObjectWithTag("red").GetComponent<UnitySampleAssets.Characters.ThirdPerson.ThirdPersonUserControl>();
     ThirdPersonUserControl_green = GameObject.FindGameObjectWithTag("green").GetComponent<UnitySampleAssets.Characters.ThirdPerson.ThirdPersonUserControl>();
     cameraController_camera = GameObject.Find("worldCenter").GetComponent<cameraController_camera>();
 }
 // Use this for initialization
 void Start()
 {
     plane = GameObject.FindGameObjectWithTag("plane");
     cameraController_camera = GameObject.Find("worldCenter").GetComponent<cameraController_camera>();
 }