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