public UnityAnimationEventCommands Clone() { UnityAnimationEventCommands ret = new UnityAnimationEventCommands(); ret.Commands = new List <KeyValuePair <short, AnimationEventParam> >(Commands); return(ret); }
private void InitFields(UnityAnimationEventCommands right) { if (Commands == null) { Commands = new List <KeyValuePair <short, AnimationEventParam> >(32); } Commands.Clear(); if (right.Commands != null) { Commands.AddRange(right.Commands); } }