Exemple #1
0
        //------------------------------------------------------------------------/
        // Events
        //------------------------------------------------------------------------/
        private void OnStratusDialogConfirmationRequest(StratusDialogConfirmationRequest e)
        {
            this.Log($"Processed request {e}");
            StratusDialogConfirmationDisplay instance = Instantiate(confirmationRequestPrefab, this.canvas.transform);

            instance.transform.SetAsFirstSibling();
            instance.Open(e, OnRequestEnded);
            instance.Select();
            ProcessRequest(instance);
        }
 private void GenerateDefaultPrompts()
 {
     quitApplicationPrompt          = GenerateQuitPrompt();
     quitApplicationPrompt.onClose += Select;
 }