Пример #1
0
 public override void Load(Action done = null)
 {
     if (this.IsLoaded())
     {
         return;
     }
     rootModel = AssetModelFactory.CreateModel(AssetType.MODEL_SCENEITEM, res);
     rootModel.Load(OnLoaded + done);
 }
Пример #2
0
 public override void Load(Action done = null)
 {
     if (this.IsLoaded())
     {
         return;
     }
     rootModel = AssetModelFactory.CreateModel(assetType, res);
     rootModel.Load(done);
 }
Пример #3
0
 public void Load(Action onLoaded)
 {
     model = AssetModelFactory.CreateModel(AssetType.UI_PANEL, res);
     model.Load(OnLoaded + onLoaded);
 }