using System;
using System.Collections.Generic;
namespace WS
{
///ProcessManager扩展
public partial class ProcessManager
{
///初始化名称To类型
private Dictionary DicNameToType = new Dictionary();
private void StartType()
{
DicNameToType.Add("InteractAnimsComponent", typeof(InteractAnimsComponent));
DicNameToType.Add("InteractObjsComponent", typeof(InteractObjsComponent));
DicNameToType.Add("InteractComponent", typeof(InteractComponent));
DicNameToType.Add("LoadSceneComponent", typeof(LoadSceneComponent));
DicNameToType.Add("MoveGuideComponent", typeof(MoveGuideComponent));
DicNameToType.Add("PlayAudioComponent", typeof(PlayAudioComponent));
DicNameToType.Add("ShowMsgComponent", typeof(ShowMsgComponent));
DicNameToType.Add("ShowViewOperateComponent", typeof(ShowViewOperateComponent));
DicNameToType.Add("UIGuideOperateComponent", typeof(UIGuideOperateComponent));
DicNameToType.Add("JumpToComponent", typeof(JumpToComponent));
}
///获取名称
private Type GetToType(string name)
{
return DicNameToType[name];
}
}
}