Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     time          = timeInMinutes * 60;
     slotsManager  = SlotsManagement.Instance;
     s_wrongAnswer = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/wrongAnswer");
     s_wordUsed    = FMODUnity.RuntimeManager.CreateInstance("event:/SFX/wordUsedNotification");
 }
Пример #2
0
    // Start is called before the first frame update
    void Start()
    {
        slotManager          = SlotsManagement.Instance;
        originalHierarchyPos = transform.GetSiblingIndex();

        originalParent = transform.parent;
        slotsParent    = GameObject.Find("Slots");
    }
Пример #3
0
 private void Awake()
 {
     Instance = this;
 }