Beispiel #1
0
    private void Start()
    {
        roomUIController.GetComponent <CanvasGroup>().alpha = 0;

        poiSizeMenu        = piUIManager.GetPiUIOf("Poi Size Menu");
        poiPersonalityMenu = piUIManager.GetPiUIOf("Poi Personality Menu");
        poiNoteMenu        = piUIManager.GetPiUIOf("Poi Note Menu");
        EditPoiMenus();

        quitButton.onClick.AddListener(Application.Quit);
        addPoiButton.onClick.AddListener(ShowPoiPersonalityMenu);
        randomPoiButton.onClick.AddListener(delegate { SpawnNewPoi(null, true); });
    }
Beispiel #2
0
    private void Start()
    {
        _cameraController = FindObjectOfType <cameraController>();

        piUi       = FindObjectOfType <PiUIManager>();
        normalMenu = piUi.GetPiUIOf("Normal Menu");
        //piUi.ChangeMenuState("Normal Menu", new Vector2(Screen.width / 2f, Screen.height / 2f));
    }
Beispiel #3
0
 // Use this for initialization
 void Start()
 {
     //Get menu for easy not repetitive getting of the menu when setting joystick input
     normalMenu = piUi.GetPiUIOf("Normal Menu");
 }