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