示例#1
0
    public override MSB2.Model Serialize(GameObject parent)
    {
        var model = new MSB2.Model();

        _Serialize(model, parent);
        return(model);
    }
 private void AddModelDS2(IMsb m, MSB2.Model model, string name)
 {
     if (LoadedModels[name] != null)
     {
         m.Models.Add(LoadedModels[name]);
         return;
     }
     model.Name = name;
     m.Models.Add(model);
 }
示例#3
0
 public override void SetModel(MSB2.Model model)
 {
     setBaseModel(model);
 }
示例#4
0
 public void setBaseModel(MSB2.Model model)
 {
 }
示例#5
0
 public abstract void SetModel(MSB2.Model model);
示例#6
0
 internal void _Serialize(MSB2.Model model, GameObject parent)
 {
     model.Name = parent.name;
 }