예제 #1
0
        private static int GetAILogicByObject(GameObject obj)
        {
            EditorIndicator_NPC npc = obj.GetComponentInChildren <EditorIndicator_NPC>();

            if (npc != null)
            {
                return(npc.AILogic);
            }

            return(0);
        }
예제 #2
0
        private static string GetIdleAnimSetByObject(GameObject obj)
        {
            EditorIndicator_NPC npc = obj.GetComponentInChildren <EditorIndicator_NPC>();

            if (npc != null)
            {
                return(npc.IdleAnimSet);
            }

            return("");
        }