常用方法
常用方法
常用方法
常用方法
public static TypeTree MonoBehaviourToTypeTree(MonoBehaviour m_MonoBehaviour) { if (!assemblyLoader.Loaded) { var openFolderDialog = new OpenFolderDialog(); openFolderDialog.Title = "Select Assembly Folder"; if (openFolderDialog.ShowDialog() == DialogResult.OK) { assemblyLoader.Load(openFolderDialog.Folder); } else { assemblyLoader.Loaded = true; } } return(m_MonoBehaviour.ConvertToTypeTree(assemblyLoader)); }