Exemplo n.º 1
0
		private static FontText LoadFontText(BinaryReader reader, byte[] versionBytes)
		{
			var fontText = new FontText();
			fontText.SetComponents(LoadComponents(fontText, reader, versionBytes));
			var hasZeroTags = reader.ReadByte();
			var hasZeroBehaviors = reader.ReadByte();
			var hasOneDrawBehavior = reader.ReadByte();
			reader.ReadByte();
			reader.ReadString();
			reader.ReadString();
			fontText.OnDraw<FontRenderer>();
			return fontText;
		}