예제 #1
0
        public static UnityAnimationEventCommands Deserialize(UnityAnimationEventCommands typeTag, BinaryReader reader)
        {
            if (typeTag != null)
            {
                typeTag.Reset();
            }
            else
            {
                typeTag = new UnityAnimationEventCommands();
            }

            typeTag.Read(reader);
            return(typeTag);
        }
예제 #2
0
        private void InitFileds()
        {
            if (StateInterCommands == null)
            {
                StateInterCommands = new StateInterCommands();
            }

            if (AnimationCallbackCommands == null)
            {
                AnimationCallbackCommands = new StateInterCommands();
            }

            if (FirstPersonAnimationEventCallBack == null)
            {
                FirstPersonAnimationEventCallBack = new UnityAnimationEventCommands();
            }

            if (ThirdPersonAnimationEventCallBack == null)
            {
                ThirdPersonAnimationEventCallBack = new UnityAnimationEventCommands();
            }
        }
예제 #3
0
 public static void Serialize(UnityAnimationEventCommands data, Core.Utils.MyBinaryWriter writer,
                              UnityAnimationEventCommands last = default(UnityAnimationEventCommands), bool weiteAll = false)
 {
     data.Write(writer);
 }
예제 #4
0
 public static bool Equals(UnityAnimationEventCommands a, UnityAnimationEventCommands b)
 {
     return(false);
 }
예제 #5
0
 public static UnityAnimationEventCommands Deserialize(UnityAnimationEventCommands typeTag, BinaryReader reader)
 {
     return(_unityAnimationEventCommandsSerializer.Read(reader));
 }
예제 #6
0
 public static UnityAnimationEventCommands Clone(UnityAnimationEventCommands data)
 {
     return(data != null?data.Clone() : null);
 }
예제 #7
0
 public static UnityAnimationEventCommands Merge(UnityAnimationEventCommands basevalue, UnityAnimationEventCommands patchvalue)
 {
     basevalue.Reset();
     basevalue.CopyFrom(patchvalue);
     return(basevalue);
 }