移植工具宏
This commit is contained in:
parent
7f2792bbdc
commit
4a75cae653
@ -86,7 +86,7 @@ public class AxiProjectTools : EditorWindow
|
||||
static void LoopPrefabNode(string rootPath, GameObject trans, int depth)
|
||||
{
|
||||
string nodename = $"{rootPath}>{trans.name}";
|
||||
#if UNITY_5_4_OR_NEWER && !UNITY_2018_4_OR_NEWER
|
||||
#if UNITY_2018_4_OR_NEWER
|
||||
GameObject prefabRoot = trans.gameObject;
|
||||
int comCount = prefabRoot.GetComponentCount();
|
||||
for (int i = 0; i < comCount; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user