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