void Start() { text = gameObject.GetComponent <Text>(); currentShowTextUI = this; gameObject.SetActive(false); DontDestroyOnLoad(transform.parent); }
static int set_currentShowTextUI(IntPtr L) { try { ShowTextUI arg0 = (ShowTextUI)ToLua.CheckUnityObject(L, 2, typeof(ShowTextUI)); ShowTextUI.currentShowTextUI = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SetText(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); string arg0 = ToLua.CheckString(L, 1); ShowTextUI.SetText(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }