コード例 #1
0
ファイル: VirtualClock.cs プロジェクト: sujit1779/writeasync
        public PeriodicAction CreateAction(TimeSpan interval, Action action)
        {
            VirtualAction newAction = new VirtualAction(interval, action, this.currentTime);

            this.actions.Add(newAction);
            return(newAction);
        }
コード例 #2
0
ファイル: EmeryAI.cs プロジェクト: chobitsfan/new_mr_game
 // Start is called before the first frame update
 void Start()
 {
     act = gameObject.GetComponent <VirtualAction>();
 }
コード例 #3
0
 private void Start()
 {
     droneAction   = drone.GetComponent <DroneAction>();
     virtualAction = drone.GetComponent <VirtualAction>();
 }