コード例 #1
0
        private float waitTime  = 1f; // seconds

        void Awake()
        {
            goapEnemyAI = GetComponent <GoapEnemyAI>();
            if (goapEnemyAI == null)
            {
                Debug.Log("Must attach this to a valid GoapEnemyAI type");
            }
        }