Beispiel #1
0
        public override void CopyFrom(object rightComponent)
        {
            var right = rightComponent as StateInterVar;

            InitFileds();
            StateInterCommands.CopyFrom(right.StateInterCommands);
            AnimationCallbackCommands.CopyFrom(right.AnimationCallbackCommands);
            FirstPersonAnimationEventCallBack.CopyFrom(right.FirstPersonAnimationEventCallBack);
            ThirdPersonAnimationEventCallBack.CopyFrom(right.ThirdPersonAnimationEventCallBack);
            IsJumpForSync = right.IsJumpForSync;
            base.CopyFrom(rightComponent);
        }
Beispiel #2
0
 public static UnityAnimationEventCommands Merge(UnityAnimationEventCommands basevalue, UnityAnimationEventCommands patchvalue)
 {
     basevalue.Reset();
     basevalue.CopyFrom(patchvalue);
     return(basevalue);
 }