public PeriodicAction CreateAction(TimeSpan interval, Action action) { VirtualAction newAction = new VirtualAction(interval, action, this.currentTime); this.actions.Add(newAction); return(newAction); }
// Start is called before the first frame update void Start() { act = gameObject.GetComponent <VirtualAction>(); }
private void Start() { droneAction = drone.GetComponent <DroneAction>(); virtualAction = drone.GetComponent <VirtualAction>(); }