Пример #1
0
    private void UI_Control(string name)
    {
        UI_Main ui = GameObject.FindObjectOfType <UI_Main>();

        ui.setUiStatusSprite(name);
        ui.setUiStatusText("Box is detected!");
        ui.setUiStatusButtonText("Place box");
    }
Пример #2
0
 private void UI_Control(string name)
 {
     uiMain.setUiStatusSprite(name);
     uiMain.setUiStatusText("Box is detected!");
     uiMain.setUiStatusButtonText("Place box");
 }