// Start is called before the first frame update
 void Start()
 {
     deleteInScreen = false;
     onSphere       = false;
     waypoints      = (Waypoints)FindObjectOfType(typeof(Waypoints));
     remove         = (removeButtons)FindObjectOfType(typeof(removeButtons));
 }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     remove = (removeButtons)FindObjectOfType(typeof(removeButtons));
 }
Exemple #3
0
 // Start is called before the first frame update
 void Start()
 {
     command   = (Command)FindObjectOfType(typeof(Command));
     waypoints = (Waypoints)FindObjectOfType(typeof(Waypoints));
     remove    = (removeButtons)FindObjectOfType(typeof(removeButtons));
 }
Exemple #4
0
 // Start is called before the first frame update
 void Start()
 {
     command.onClick.AddListener(TaskOnClick);
     remove = (removeButtons)FindObjectOfType(typeof(removeButtons));
     waypoints = (Waypoints)FindObjectOfType(typeof(Waypoints));
 }
 // Start is called before the first frame update
 void Start()
 {
     //myButton.onValueChange.AddListener(delegate { UpdateAltitude(myButton.text); });
     waypoints = (Waypoints)FindObjectOfType(typeof(Waypoints));
     remove    = (removeButtons)FindObjectOfType(typeof(removeButtons));
 }