Example #1
0
 /// <summary>
 /// Migrates new actions over.
 /// </summary>
 public void Migrate()
 {
     // Add the new actions (to prevent desync)
     foreach (var action in RecentlyAddedActions)
     {
         ActiveActions.Add(action);
     }
     RecentlyAddedActions.Clear();
 }
Example #2
0
 protected override void OnInitialized()
 {
     ActionContainer?.Add(this);
 }