コード例 #1
0
 public void Clear()
 {
     _valuesSetter         = null;
     _easeFunctionDelegate = EasingCoreFunction.Get(EaseEquation.Linear);
     _duration             = 0;
     _onComplete           = DoNothing;
     _paramType            = TweenParamType.Float;
     _loopType             = TweenLoopType.Restart;
     _loop = 1;
     _deltaTimeDelegate  = TimeFunction(false);
     _elapsedDelay       = 0;
     _runTimes           = 0;
     _elapsedtime        = 0;
     _normalizedPosition = 0;
     _forward            = true;
     _delay        = 0;
     _elapsedDelay = 0;
     _pause        = false;
     _fromValue0   = _fromValue1 = _fromValue2 = _fromValue3 = _toValue0 = _toValue1 =
         _toValue2 = _toValue3 = _resultValue0 = _resultValue1 = _resultValue2 = _resultValue3 = 0;
     _autoKill     = true;
     _useCurve     = false;
     _easeCurve    = null;
 }
コード例 #2
0
 public Tweenn SetParamType(TweenParamType paramType)
 {
     _paramType = paramType;
     return(this);
 }