// Start is called before the first frame update void Start() { col = GetComponent <BoxCollider2D>(); animator = GetComponent <AnimatorScripts>(); col.enabled = false; animator.PlayAnimation("Target_Aim", 0); StartCoroutine(Target()); }
public void Init() { action = GetComponent <Boss6_Action>(); move = GetComponent <Boss6_Move>(); controller = GetComponent <Boss6_Controller>(); animatorScripts = GetComponent <AnimatorScripts>(); ChangeCommandList(0); StartCoroutine(Intro()); }
public void Init() { controller = GetComponent <Boss6_Controller>(); move = GetComponent <Boss6_Move>(); animatorScripts = GetComponent <AnimatorScripts>(); audioManager = AudioManager.instance; shooter = GetComponent <ShootScripts>(); player = controller.player; actionList.Add("ShootAtPlayer"); actionList.Add("SweepShoot"); }
public void Init() { controller = GetComponent <Boss6_Controller>(); animatorScripts = GetComponent <AnimatorScripts>(); audioManager = AudioManager.instance; }
void Awake() { image = GetComponent <Image>(); animator = GetComponent <Animator>(); animatorScripts = GetComponent <AnimatorScripts>(); }