private void Start() { cursorManager.OnButtonPointerExit(); idOfItemClicked = 0; if (GameManager.itemOwnStatus == null) { GameManager.itemOwnStatus = new bool[items.Length]; } audioSource = GetComponent <AudioSource>(); audioLength = audioSource.clip.length; }
private void Start() { cursorManager.OnButtonPointerExit(); audioSource = GetComponent <AudioSource>(); audioLength = audioSource.clip.length; }