示例#1
0
 public void Initialize(Color _fromPoint, Color _toPoint, float _travelTime, bool _begin, Easing.oscillation_type _oscType)
 {
     fromPoint        = _fromPoint;
     toPoint          = _toPoint;
     travelTime       = _travelTime;
     beginImmediately = _begin;
     oscillationType  = _oscType;
 }
示例#2
0
 public void Initialize(bool fadein, float _travelTime, Easing.oscillation_type _oscType)
 {
     if (fadein)
     {
         fadeType = fadetype.Fade_In;
     }
     else
     {
         fadeType = fadetype.Fade_Out;
     }
     travelTime       = _travelTime;
     beginImmediately = true;
     oscillationType  = _oscType;
     Begin();
 }