void Awake() { m_transform = transform; m_animation = GetComponent<Animation>(); m_audio = GetComponent<AudioSource>(); m_rigidbody = GetComponent<Rigidbody>(); script_monEf = Monster_efs.instance; enemy = GameObject.FindWithTag("Respawn").GetComponent<DB_Monster>().enemy[1]; script_sound = GameObject.FindWithTag("sound").GetComponent<SoundEf_slash>(); script_cam = Camera.main.GetComponent<CamMove>(); // gameObject.AddComponent<Skill> (); m_skillScript = gameObject.GetComponent<Skill> (); skillData = new SkillState("enemy_normal_skill"); skillData.Init (this); skillList = new SkillManager (); m_isDead = false; }