// Start is called before the first frame update void Start() { deleteInScreen = false; onSphere = false; waypoints = (Waypoints)FindObjectOfType(typeof(Waypoints)); remove = (removeButtons)FindObjectOfType(typeof(removeButtons)); }
// Start is called before the first frame update void Start() { remove = (removeButtons)FindObjectOfType(typeof(removeButtons)); }
// 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)); }
// 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)); }