Exemplo n.º 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);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Called when Dualitys <see cref="DualityApp.ExecutionContext"/> changes.
 /// </summary>
 internal protected virtual void OnExecContextChanged(DualityApp.ExecutionContext previousContext)
 {
 }
Exemplo n.º 3
0
        protected override void OnExecContextChanged(DualityApp.ExecutionContext previousContext)
        {
            base.OnExecContextChanged(previousContext);

            Timer.Cleanup();
        }
Exemplo n.º 4
0
 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;
 }