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); }
void Start() { Button.initUICamera(GameObject.Find("UICamera").GetComponent <Camera>()); button = UIOBJ.create <TextButton> (GameObject.Find("TextButton").transform); button.responseForInput = true; }