Esempio n. 1
0
 public override void Unity_Deserialize(int depth)
 {
     if (depth <= 7)
     {
         this.textLabel = (SerializedStateReader.Instance.ReadUnityEngineObject() as UILabel);
     }
     if (depth <= 7)
     {
         this.scrollBar = (SerializedStateReader.Instance.ReadUnityEngineObject() as UIProgressBar);
     }
     this.style            = (UITextList.Style)SerializedStateReader.Instance.ReadInt32();
     this.paragraphHistory = SerializedStateReader.Instance.ReadInt32();
 }
Esempio n. 2
0
    static int set_style(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UITextList       obj  = (UITextList)o;
            UITextList.Style arg0 = (UITextList.Style)ToLua.CheckObject(L, 2, typeof(UITextList.Style));
            obj.style = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index style on a nil value"));
        }
    }
Esempio n. 3
0
    static int get_style(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UITextList       obj = (UITextList)o;
            UITextList.Style ret = obj.style;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index style on a nil value"));
        }
    }
Esempio n. 4
0
    public unsafe override void Unity_NamedDeserialize(int depth)
    {
        byte[] var_0_cp_0;
        int    var_0_cp_1;

        if (depth <= 7)
        {
            ISerializedNamedStateReader arg_1E_0 = SerializedNamedStateReader.Instance;
            var_0_cp_0     = $FieldNamesStorage.$RuntimeNames;
            var_0_cp_1     = 0;
            this.textLabel = (arg_1E_0.ReadUnityEngineObject(&var_0_cp_0[var_0_cp_1] + 1553) as UILabel);
        }
        if (depth <= 7)
        {
            this.scrollBar = (SerializedNamedStateReader.Instance.ReadUnityEngineObject(&var_0_cp_0[var_0_cp_1] + 4551) as UIProgressBar);
        }
        this.style            = (UITextList.Style)SerializedNamedStateReader.Instance.ReadInt32(&var_0_cp_0[var_0_cp_1] + 2693);
        this.paragraphHistory = SerializedNamedStateReader.Instance.ReadInt32(&var_0_cp_0[var_0_cp_1] + 4561);
    }