public FocusDecoratorTimed(Transform transform, FocusBase child, RangedFloat timeRestriction) : base(transform, child)
 {
     _timeRestriction = timeRestriction;
 }
示例#2
0
 protected FocusDecoratorBase(Transform transform, FocusBase child) : base(transform)
 {
     _child = child;
 }
 public FocusDecoratorTimed(Transform transform, FocusBase child, float maxTime) : base(transform, child)
 {
     _timeRestriction = new RangedFloat(0, maxTime);
 }