Exemplo n.º 1
0
        private void UpdateSelection(FrameSelect frameSelect)
        {
            DeselectAll();

            bool Changed = SelectedFrame != frameSelect;

            SelectedFrame = frameSelect;

            //Frame has been changed, then update this
            if (Changed)
            {
                OnFrameSelected?.Invoke(this, EventArgs.Empty);
            }
        }
Exemplo n.º 2
0
 private void Awake()
 {
     frameSelect = GetComponent <FrameSelect>();
     pause       = GetComponent <PauseController>();
     audioSource = GetComponent <AudioSource>();
 }