// Start is called before the first frame update void Start() { hp = maxHp; sp = maxSp; ms = 10; playerUIManager.Init(this); rb = GetComponent <Rigidbody>(); animator = GetComponent <Animator>(); DisableWeaponCollider(); }
void Start() { hp = maxHp; sp = maxSp; playerUIManager.Init(this); rb = GetComponent <Rigidbody>(); anim = GetComponent <Animator>(); audioSource = GetComponent <AudioSource>(); HideColliderWeapon(); }
void Start() { if (isDie) { return; } hp = maxHp; PlayerUIManager.Init(this); rb = GetComponent <Rigidbody>(); animator = GetComponent <Animator>(); HideColliderWeapon(); }