Fixed read struct

This commit is contained in:
Perfare
2017-04-04 05:49:26 +08:00
parent f8e7303169
commit 6f3b438d92
5 changed files with 37 additions and 46 deletions

View File

@ -27,7 +27,7 @@ namespace Unity_Studio
{
if (readSwitch)
{
m_Script = Encoding.UTF8.GetBytes("Serialized Shader can't be read");
m_Script = Encoding.UTF8.GetBytes(preloadData.ViewStruct());
}
else
{