protected void Awake() { hpUp = GameObject.Find("Player").GetComponent <CharacterState>(); hpGageUP = GameObject.Find("Player").GetComponent <HpGageShare>(); nowCoolDown = skillCoolDown;// 생성되기전이라 전달이안됨 }
public void Awake() { _state = GetComponent <CharacterState>(); _animator = GetComponent <Animator>(); _hpGager = GetComponent <HpGageShare>(); dtCoroutinCall = GetComponent <DamageText>(); chatCon = gameObject.GetComponent <ChatBoxController>(); deathInteract = true; polyPlay = gameObject.GetComponent <PlayerAudioSource>(); }
void Awake() { // hpIncresase = GetComponent <CharacterState>(); mpIncrease = GetComponent <PlayerSkill>(); maxHpIncrease = GetComponent <HpGageShare>(); exp = 0; maxExp = 15; levelText.text = level.ToString(); chatBoxCall = gameObject.GetComponent <ChatBoxController>(); }
protected override void Awake() { base.Awake(); hpUp = GameObject.Find("Player").GetComponent <CharacterState>(); hpGageUP = GameObject.Find("Player").GetComponent <HpGageShare>(); }