public static void Execute(Dictionary <string, string> _params, ActionDelegate _onFinish) { string slateAlias = ""; if (!_params.TryGetValue("slate", out slateAlias)) { Log.Error("SwitchSlate", "need params slate"); return; } UIMgr.ClearAllUi(); _onFinish(); string uuid = SlateMgr.AliasToUUID(slateAlias); Log.Trace("Invoke::SwitchSlate", "Switch slate, alias:{0} uuid:{1}", slateAlias, uuid); SlateMgr.SwithSlate(uuid); }