private void Awake() { askill = FindObjectOfType <AllSkill>(); MM = FindObjectOfType <MonsterManager>(); PrepareForEnemy(); PC.PlayerAnimator = M.An; Debug.Log(PlayerPrefs.GetInt("EquipSkillNumber")); skillPoint = 0; skillActivate = false; }
private void Awake() { if (instance == null) { instance = this; DontDestroyOnLoad(gameObject); } else { DestroyImmediate(gameObject); } }
private void Awake() { PC.DS.GetComponent <ParticleSystem>().Stop(true); PC.HL.GetComponent <ParticleSystem>().Stop(true); PC.WW.GetComponent <ParticleSystem>().Stop(true); AS = FindObjectOfType <AudioScript>(); askill = FindObjectOfType <AllSkill>(); MM = FindObjectOfType <MonsterManager>(); PrepareForEnemy(); PC.PlayerAnimator = M.An; Debug.Log(PlayerPrefs.GetInt("EquipSkillNumber")); skillPoint = 0; skillActivate = false; }
// public List<Equipment> All_Potion = new List<Equipment>(); // Start is called before the first frame update private void Awake() { askill = FindObjectOfType <AllSkill>(); }