GameObject.Find(goQuitButtonPath)
private GameObject goQuitButton ; private tk2dTextMesh goQuitButtonText; private const string goQuitButtonPath = "/UI Quit/UICamera/Version/UISettings/buttonOke/frame/ButonText"; private void Awake () { goQuitButton = GameObject.Find(goQuitButtonPath); goQuitButtonText = goQuitButton.GetComponent<tk2dTextMesh>(); }