private void Start() { if (Instance != null && Instance != this) { Destroy(gameObject); } else { Instance = this; } AblityLocal = GameObject.Find("Ablity"); }
private void Start() { if (Instance != null && Instance != this) { Destroy(gameObject); } else { Instance = this; } ablityController = GetComponent <AblityController>(); playerWeaponController = GetComponent <PlayerWeaponController>(); consumableController = GetComponent <ConsumableController>(); GiveItem("sword"); GiveItem("staff"); //GiveItem("Gun"); GiveItem("potion_log"); GiveItem("firestaff"); GiveItem("fire_Arround_mod"); GiveItem("Flash"); }