void initUI()
    {
        Button.initUICamera(GameObject.Find("UICamera").GetComponent <Camera>());
        PauseButton pauseButton = UIOBJ.create <PauseButton> (GameObject.Find("pauseButton").transform);

        pauseButton.responseForInput = true;

        scoreNum = UIOBJ.create <ArtNum> (GameObject.Find("score").transform);
    }
Beispiel #2
0
 void Start()
 {
     Button.initUICamera(GameObject.Find("UICamera").GetComponent <Camera>());
     button = UIOBJ.create <TextButton> (GameObject.Find("TextButton").transform);
     button.responseForInput = true;
 }