/// <inheritdoc /> protected override void OnStartCompleted(IApplication application, StartCompletedEventArgs args) { // Application entry, Your code starts writing here // called this function after, use App.Make function to get service // ex: App.Make<IYourService>().Debug("hello world"); Debug.Log("Hello CatLib, Debug Level: " + App.Make <DebugLevel>()); App.Watch <DebugLevel>(newLevel => { Debug.Log("Change debug level: " + newLevel); }); }
/// <summary> /// Triggered when the framework is started /// </summary> protected virtual void OnStartCompleted(IApplication application, StartCompletedEventArgs args) { // noop. }
/// <summary> /// Triggered when the framework is started /// </summary> protected abstract void OnStartCompleted(IApplication application, StartCompletedEventArgs args);
/// <summary> /// 项目启动入口 /// </summary> protected override void OnStartCompleted(StartCompletedEventArgs eventArgs) { }
/// <inheritdoc /> protected override void OnStartCompleted(IApplication application, StartCompletedEventArgs args) { Debug.Log("Hello Editor CatLib."); base.OnStartCompleted(application, args); }
/// <summary> /// 当框架启动完成时 /// </summary> protected abstract void OnStartCompleted(StartCompletedEventArgs eventArgs);