void SerializeChildPanel(SerializeText ar, ref RootChildPanel value) { if (value == null) { value = new RootChildPanel(); } ar.ReadWriteValue("ParentName", ref value.m_szParentName); ar.ReadWriteValue("ChildName", ref value.m_szChildName); }
public void Serialize(SerializeText ar) { byte yVersion = 0; ar.ReadWriteValue("Version", ref yVersion); ar.SerializeArray("ChildCount", ref m_AllChild, SerializeChildPanel); }
void SerializePrefabName(SerializeText ar, ref string value) { if (value == null) { value = string.Empty; } ar.ReadWriteValue("name", ref value); }
public void Serialize(SerializeText ar) { byte yVersion = 0; ar.ReadWriteValue("Version", ref yVersion); ar.SerializeArray("ChildCount", ref m_UIPrefabName, "name"); ar.SerializeArray("DependCount", ref m_DependPrefabName, "name"); ar.SerializeArray("FontCount", ref m_FontPrefabName, "name"); }