示例#1
0
 public TransformTimer(SomeTransform <float> transform, float duration, SomeTimed.RunType type = SomeTimed.RunType.RunOnce)
     : base(duration, type)
 {
     this.transform = transform;
 }
示例#2
0
 public TestTimer(float duration, SomeTimed.RunType runType) : base(duration, runType)
 {
 }
 public TimedThenStateModifier(float duration, T nextState, StateMachine <T> owner, SomeTimed.RunType runType) : base(duration, owner, runType)
 {
     this.nextState = nextState;
 }
 public SomeTimedModifier(float duration, StateMachine <T> owner, SomeTimed.RunType runType) : base(owner, runType)
 {
     this.duration = duration;
 }
 public SomeModifier(StateMachine <T> owner, SomeTimed.RunType runType)
 {
     this.owner   = new WeakReference <StateMachine <T> >(owner);
     this.runType = runType;
 }
 public TimedThenInputModifier(float duration, string input, StateMachine <T> owner, SomeTimed.RunType runType) : base(duration, owner, runType)
 {
     this.input = input;
 }