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