示例#1
0
    void Start()
    {
        text = gameObject.GetComponent <Text>();
        currentShowTextUI = this;
        gameObject.SetActive(false);

        DontDestroyOnLoad(transform.parent);
    }
示例#2
0
 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));
     }
 }
示例#3
0
 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));
     }
 }