Ejemplo n.º 1
0
        public PeriodicAction CreateAction(TimeSpan interval, Action action)
        {
            VirtualAction newAction = new VirtualAction(interval, action, this.currentTime);

            this.actions.Add(newAction);
            return(newAction);
        }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     act = gameObject.GetComponent <VirtualAction>();
 }
Ejemplo n.º 3
0
 private void Start()
 {
     droneAction   = drone.GetComponent <DroneAction>();
     virtualAction = drone.GetComponent <VirtualAction>();
 }