예제 #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);
        }
예제 #2
0
 public static UnityAnimationEventCommands Merge(UnityAnimationEventCommands basevalue, UnityAnimationEventCommands patchvalue)
 {
     basevalue.Reset();
     basevalue.CopyFrom(patchvalue);
     return(basevalue);
 }