Exemplo n.º 1
0
        public void Read(UnityBinaryReader reader)
        {
            ClassID         = reader.ReadInt();
            IsStrippedType  = reader.ReadByte() != 0;
            ScriptTypeIndex = reader.ReadShort();

            if (ClassID == (int)ClassIDType.MonoBehaviour)
            {
                ScriptID = reader.ReadBytes(16);
            }
            OldTypeHash = reader.ReadBytes(16);
        }