Ejemplo n.º 1
0
    private void HandleInput(GameObject source)
    {
        if (source.name == "Load_Button")
        {
            LoadMoreMySubmissions();
        }
        else if (source.GetComponent <SubmissionContainer>())
        {
            string name = source.name;

            MatryxSubmission submission = source.GetComponent <SubmissionContainer>().submission;
            // TODO: Navigate the user to the corresponding tournament through the menus
            submissionMenu.gameObject.GetComponent <AnimationHandler>().OpenMenu((obj) => { submissionMenu.SetSubmission(submission); });
        }
    }
Ejemplo n.º 2
0
 public void DisplaySubmissionUI(MatryxSubmission submission)
 {
     submissionMenu.gameObject.GetComponent <AnimationHandler>().OpenMenu();
     submissionMenu.SetSubmission(submission);
 }