// Start is called before the first frame update void Start() { if (GameManager.instance.m_Player == null) { GameManager.instance.m_Player = this; DontDestroyOnLoad(this.gameObject); } else { Destroy(this.gameObject); } InitializeCharacter(); SetRollSpeed(); m_state = State.Normal; m_HealthBar.SetHealthText(m_HP, m_MaxHP); m_HealthBar.SetHealthBar(m_HP / m_MaxHP); ChangeStatBoost(0, 0, 0f); m_ExpBar.SetExpBar((float)m_Exp / (float)100); }