Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     Point_star_1 = GameObject.Find("Aim Point 1");
     Point_star_2 = GameObject.Find("Aim Point 2");
     Point_star_3 = GameObject.Find("Aim Point 3");
     //P_camera = GameObject.Find("Main Camera");
     Point_star_2.SetActive(false);
     Point_star_3.SetActive(false);
 }
Ejemplo n.º 2
0
 public void Point_Method(int Point_State)
 {
     if (Point_State == 1)
     {
         Point_star_1.SetActive(false);
         Point_star_2.SetActive(true);
         //           P_camera.GetComponent<Camera>().fieldOfView = 20;
     }
     if (Point_State == 2)
     {
         Point_star_1.SetActive(true);
         Point_star_2.SetActive(false);
         //          P_camera.GetComponent<Camera>().fieldOfView = 60;
     }
 }