예제 #1
0
        public void CopyFromToValueFrom(TweenParam param)
        {
            FromFloat = param.FromFloat;
            ToFloat   = param.ToFloat;

            FromVector2 = param.FromVector2;
            ToVector2   = param.ToVector2;

            FromVector3 = param.FromVector3;
            ToVector3   = param.ToVector3;

            FromVector4 = param.FromVector4;
            ToVector4   = param.ToVector4;

            FromColor = param.FromColor;
            ToColor   = param.ToColor;

            FromQuaternion = param.FromQuaternion;
            ToQuaternion   = param.ToQuaternion;

            FromRect = param.FromRect;
            ToRect   = param.ToRect;

            QueueVector3 = param.QueueVector3;
            QueueColor   = param.QueueColor;

            FromTransform = param.FromTransform;
            ToTransform   = param.ToTransform;

            FromStr = param.FromStr;
            ToStr   = param.ToStr;
        }
예제 #2
0
        public void CopyFromToValueTo(TweenParam param)
        {
            param.FromFloat = FromFloat;
            param.ToFloat   = ToFloat;

            param.FromVector2 = FromVector2;
            param.ToVector2   = ToVector2;

            param.FromVector3 = FromVector3;
            param.ToVector3   = ToVector3;

            param.FromVector4 = FromVector4;
            param.ToVector4   = ToVector4;

            param.FromColor = FromColor;
            param.ToColor   = ToColor;

            param.FromQuaternion = FromQuaternion;
            param.ToQuaternion   = ToQuaternion;

            param.FromRect = FromRect;
            param.ToRect   = ToRect;

            param.QueueVector3 = QueueVector3;
            param.QueueColor   = QueueColor;

            param.FromTransform = FromTransform;
            param.ToTransform   = ToTransform;

            param.FromStr = FromStr;
            param.ToStr   = ToStr;
        }
예제 #3
0
        public void CopyFrom(TweenParam param)
        {
            Type       = param.Type;
            Identifier = param.Identifier;

            CopyFromToValueFrom(param);

            CurveMode   = param.CurveMode;
            CurveTarget = param.CurveTarget;
            Curve       = param.Curve;
            CurveX      = param.CurveX;
            CurveY      = param.CurveY;
            CurveZ      = param.CurveZ;
            CurveW      = param.CurveW;

            PlayType   = param.PlayType;
            EaseType   = param.EaseType;
            LoopCount  = param.LoopCount;
            Duration   = param.Duration;
            Interval   = param.Interval;
            SpeedBased = param.SpeedBased;
            StartDelay = param.StartDelay;
            AutoPlay   = param.AutoPlay;
            UpdateType = param.UpdateType;
            TimeScale  = param.TimeScale;
            TimeSmooth = param.TimeSmooth;
            SelfScale  = param.SelfScale;
            AutoKill   = param.AutoKill;

            WorldSpace     = param.WorldSpace;
            ColorLerpMode  = param.ColorLerpMode;
            ColorBlockType = param.ColorBlockType;
            PathMode       = param.PathMode;
            ShakeArgs      = param.ShakeArgs;

            ResourcesIndex = param.ResourcesIndex;
            ResourcesKey   = param.ResourcesKey;

            OnPlay         = param.OnPlay;
            OnStop         = param.OnStop;
            OnValueFloat   = param.OnValueFloat;
            OnValueVector2 = param.OnValueVector2;
            OnValueVector3 = param.OnValueVector3;
            OnValueColor   = param.OnValueColor;
        }
예제 #4
0
        public void CopyTo(TweenParam param)
        {
            param.Type       = Type;
            param.Identifier = Identifier;

            CopyFromToValueTo(param);

            param.CurveMode   = CurveMode;
            param.CurveTarget = CurveTarget;
            param.Curve       = Curve;
            param.CurveX      = CurveX;
            param.CurveY      = CurveY;
            param.CurveZ      = CurveZ;
            param.CurveW      = CurveW;

            param.PlayType   = PlayType;
            param.EaseType   = EaseType;
            param.LoopCount  = LoopCount;
            param.Duration   = Duration;
            param.Interval   = Interval;
            param.SpeedBased = SpeedBased;
            param.StartDelay = StartDelay;
            param.AutoPlay   = AutoPlay;
            param.UpdateType = UpdateType;
            param.TimeScale  = TimeScale;
            param.TimeSmooth = TimeSmooth;
            param.SelfScale  = SelfScale;
            param.AutoKill   = AutoKill;

            param.WorldSpace     = WorldSpace;
            param.ColorLerpMode  = ColorLerpMode;
            param.ColorBlockType = ColorBlockType;
            param.PathMode       = PathMode;
            param.ShakeArgs      = ShakeArgs;

            param.ResourcesIndex = ResourcesIndex;
            param.ResourcesKey   = ResourcesKey;

            param.OnPlay         = OnPlay;
            param.OnStop         = OnStop;
            param.OnValueFloat   = OnValueFloat;
            param.OnValueVector2 = OnValueVector2;
            param.OnValueVector3 = OnValueVector3;
            param.OnValueColor   = OnValueColor;
        }