6.0
This commit is contained in:
parent
5ef0843361
commit
d8b64a6280
|
|
@ -3,6 +3,7 @@ using UnityEditor;
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using Newtonsoft.Json;
|
||||
using System.Text;
|
||||
|
||||
public class QuestionConfigEditor : EditorWindow
|
||||
{
|
||||
|
|
|
|||
|
|
@ -224,17 +224,16 @@ public class QuestionManager : MonoBehaviour
|
|||
c.questionName == name && c.configType == type);
|
||||
}
|
||||
|
||||
// 获取对象的Hierarchy路径
|
||||
private string GetHierarchyPath(Transform trans)
|
||||
{
|
||||
string path = trans.name;
|
||||
while (trans.parent != null)
|
||||
{
|
||||
trans = trans.parent;
|
||||
path = trans.name + "/" + path;
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// 重新加载配置并绑定事件(可以在运行时调用)
|
||||
public void ReloadConfig()
|
||||
|
|
|
|||
Loading…
Reference in New Issue