public virtual void Start() { characterBase = FindObjectOfType <CharacterBase>(); skillBase = FindObjectOfType <SkillBase>(); collider = GetComponent <Collider>(); rigidbody = GetComponent <Rigidbody>(); if (audioSource == null) { audioSource = GetComponent <AudioSource>(); } healthBarOnGame = GetComponentInChildren <HealthBarOnGame>(); Hp = maxHp; healthBarOnGame.SetMaxHealth(maxHp); }