コード例 #1
0
 /// <summary>
 /// Invokes each plugin's <see cref="CorePlugin.OnExecContextChanged"/> event handler.
 /// </summary>
 public void InvokeExecContextChanged(DualityApp.ExecutionContext previousContext)
 {
     foreach (CorePlugin plugin in this.LoadedPlugins)
     {
         plugin.OnExecContextChanged(previousContext);
     }
 }
コード例 #2
0
 /// <summary>
 /// Called when Dualitys <see cref="DualityApp.ExecutionContext"/> changes.
 /// </summary>
 internal protected virtual void OnExecContextChanged(DualityApp.ExecutionContext previousContext)
 {
 }
コード例 #3
0
        protected override void OnExecContextChanged(DualityApp.ExecutionContext previousContext)
        {
            base.OnExecContextChanged(previousContext);

            Timer.Cleanup();
        }
コード例 #4
0
ファイル: CorePlugin.cs プロジェクト: olivierh59500/duality
 protected override void OnExecContextChanged(DualityApp.ExecutionContext previousContext)
 {
     base.OnExecContextChanged(previousContext);
     // When entering or existing sandbox mode in the editor, reset the global controllers
     this.controller = null;
 }