Example #1
0
 public LightmapSTJsonData(MeshRenderer[] meshRenderers, eMsgID id) : base(id)
 {
     foreach (var mesh in meshRenderers)
     {
         if (STDict.ContainsKey(mesh.gameObject.name))
         {
             Debug.Log("Same Name: " + mesh.gameObject.name);
         }
         STDict.Add(mesh.gameObject.name, new Tuple <int, Vector4>(mesh.lightmapIndex, mesh.lightmapScaleOffset));
     }
 }
Example #2
0
 public JsonData(eMsgID id)
 {
     MsgID = id;
 }
Example #3
0
 public LightmapArrayJsonData(eMsgID id) : base(id)
 {
 }