static void UseONLV(Oni.InstanceDescriptor ides) { Round2.ONLV l_onlv = ides.Decode <Round2.ONLV>(); Debug.Log(l_onlv); Debug.Log(l_onlv.Environment); Debug.Break(); Debug.DebugBreak(); //Debug.Log((l_onlv = DeserializeAs<Round2.ONLV>(ides.AsXmlStream())).Environment.AKEV.Quads.AGQG.Quads[0].Points.Length); //l_onlv.InitEnv(); }
static void UseTXMP(Oni.InstanceDescriptor ides) { Texture2D l_tex = null; if ((l_tex = ObtainTXFrom(ides)) != null) { Texture2DQuery.Loaded(ides.Index, l_tex); Debug.Log(ides.Decode <Round2.TXMP>()); //DeserializeAs<Round2.TXMP>(ides.AsXmlStream()); } //Debug.Log(ides.Name); }