public void Unpack(BinaryReader reader, uint numParts) { Frames.Unpack(reader, numParts); uint numHooks = reader.ReadUInt32(); for (uint i = 0; i < numHooks; i++) { var hook = AnimationHook.ReadHook(reader); Hooks.Add(hook); } }
public void Unpack(BinaryReader reader) { StartTime = reader.ReadDouble(); Hook = AnimationHook.ReadHook(reader); }