예제 #1
0
        void SetUpActionController()
        {
            EnemyActionController enemyActionController = createdObject.GetComponent <EnemyActionController>();

            //enemyActionController.NewAction(enemyProfile.ShotAction);
            enemyActionController.NewCannons(enemyProfile.Cannons);
        }
예제 #2
0
        void UpdateActionController()
        {
            EnemyActionController controller = GetComponent <EnemyActionController>();

            controller.UpdateConfiguration(config);
        }