Пример #1
0
        /// <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);
            });
        }
Пример #2
0
 /// <summary>
 /// Triggered when the framework is started
 /// </summary>
 protected virtual void OnStartCompleted(IApplication application, StartCompletedEventArgs args)
 {
     // noop.
 }
Пример #3
0
 /// <summary>
 /// Triggered when the framework is started
 /// </summary>
 protected abstract void OnStartCompleted(IApplication application, StartCompletedEventArgs args);
Пример #4
0
 /// <summary>
 /// 项目启动入口
 /// </summary>
 protected override void OnStartCompleted(StartCompletedEventArgs eventArgs)
 {
 }
Пример #5
0
 /// <inheritdoc />
 protected override void OnStartCompleted(IApplication application, StartCompletedEventArgs args)
 {
     Debug.Log("Hello Editor CatLib.");
     base.OnStartCompleted(application, args);
 }
Пример #6
0
 /// <summary>
 /// 当框架启动完成时
 /// </summary>
 protected abstract void OnStartCompleted(StartCompletedEventArgs eventArgs);