private static int GetAILogicByObject(GameObject obj) { EditorIndicator_NPC npc = obj.GetComponentInChildren <EditorIndicator_NPC>(); if (npc != null) { return(npc.AILogic); } return(0); }
private static string GetIdleAnimSetByObject(GameObject obj) { EditorIndicator_NPC npc = obj.GetComponentInChildren <EditorIndicator_NPC>(); if (npc != null) { return(npc.IdleAnimSet); } return(""); }