예제 #1
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;
            int num = arg_1E_0.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 2025);
            this.activate = new List <GameObject>(num);
            for (int i = 0; i < num; i++)
            {
                this.activate.Add(SerializedNamedStateReader.Instance.ReadUnityEngineObject((IntPtr)0) as GameObject);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 2034);
            this.deactivate = new List <GameObject>(num);
            for (int i = 0; i < num; i++)
            {
                this.deactivate.Add(SerializedNamedStateReader.Instance.ReadUnityEngineObject((IntPtr)0) as GameObject);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            this.target = (SerializedNamedStateReader.Instance.ReadUnityEngineObject(&var_0_cp_0[var_0_cp_1] + 265) as GameObject);
        }
        this.inverse = SerializedNamedStateReader.Instance.ReadBoolean(&var_0_cp_0[var_0_cp_1] + 2045);
        SerializedNamedStateReader.Instance.Align();
    }
예제 #2
0
    public unsafe override void Unity_NamedDeserialize(int depth)
    {
        byte[] var_0_cp_0;
        int    var_0_cp_1;

        if (depth <= 7)
        {
            ISerializedNamedStateReader arg_1B_0 = SerializedNamedStateReader.Instance;
            var_0_cp_0 = $FieldNamesStorage.$RuntimeNames;
            var_0_cp_1 = 0;
            int num = arg_1B_0.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 85);
            this.onFinished = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate = new EventDelegate();
                EventDelegate arg_47_0      = eventDelegate;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_47_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onFinished.Add(eventDelegate);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            this.eventReceiver = (SerializedNamedStateReader.Instance.ReadUnityEngineObject(&var_0_cp_0[var_0_cp_1] + 1165) as GameObject);
        }
        this.callWhenFinished = (SerializedNamedStateReader.Instance.ReadString(&var_0_cp_0[var_0_cp_1] + 1179) as string);
    }
예제 #3
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;
            int num = arg_1E_0.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 770);
            this.onHoverOver = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate = new EventDelegate();
                EventDelegate arg_4A_0      = eventDelegate;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_4A_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onHoverOver.Add(eventDelegate);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 782);
            this.onHoverOut = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate2 = new EventDelegate();
                EventDelegate arg_BC_0       = eventDelegate2;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_BC_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onHoverOut.Add(eventDelegate2);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 793);
            this.onPress = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate3 = new EventDelegate();
                EventDelegate arg_12F_0      = eventDelegate3;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_12F_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onPress.Add(eventDelegate3);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 801);
            this.onRelease = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate4 = new EventDelegate();
                EventDelegate arg_1A2_0      = eventDelegate4;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_1A2_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onRelease.Add(eventDelegate4);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 811);
            this.onSelect = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate5 = new EventDelegate();
                EventDelegate arg_215_0      = eventDelegate5;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_215_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onSelect.Add(eventDelegate5);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 820);
            this.onDeselect = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate6 = new EventDelegate();
                EventDelegate arg_288_0      = eventDelegate6;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_288_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onDeselect.Add(eventDelegate6);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 257);
            this.onClick = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate7 = new EventDelegate();
                EventDelegate arg_2FB_0      = eventDelegate7;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_2FB_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onClick.Add(eventDelegate7);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 831);
            this.onDoubleClick = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate8 = new EventDelegate();
                EventDelegate arg_36E_0      = eventDelegate8;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_36E_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onDoubleClick.Add(eventDelegate8);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 845);
            this.onDragStart = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate9 = new EventDelegate();
                EventDelegate arg_3E1_0      = eventDelegate9;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_3E1_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onDragStart.Add(eventDelegate9);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 857);
            this.onDragEnd = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate10 = new EventDelegate();
                EventDelegate arg_454_0       = eventDelegate10;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_454_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onDragEnd.Add(eventDelegate10);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 867);
            this.onDragOver = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate11 = new EventDelegate();
                EventDelegate arg_4C7_0       = eventDelegate11;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_4C7_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onDragOver.Add(eventDelegate11);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 878);
            this.onDragOut = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate12 = new EventDelegate();
                EventDelegate arg_53A_0       = eventDelegate12;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_53A_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onDragOut.Add(eventDelegate12);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 888);
            this.onDrag = new List <EventDelegate>(num);
            for (int i = 0; i < num; i++)
            {
                EventDelegate eventDelegate13 = new EventDelegate();
                EventDelegate arg_5AD_0       = eventDelegate13;
                SerializedNamedStateReader.Instance.BeginMetaGroup((IntPtr)0);
                arg_5AD_0.Unity_NamedDeserialize(depth + 1);
                SerializedNamedStateReader.Instance.EndMetaGroup();
                this.onDrag.Add(eventDelegate13);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
    }
예제 #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;
            int num = arg_1E_0.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 4694);
            this.SelectableGameObjects = new List <GameObject>(num);
            for (int i = 0; i < num; i++)
            {
                this.SelectableGameObjects.Add(SerializedNamedStateReader.Instance.ReadUnityEngineObject((IntPtr)0) as GameObject);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            this.ShadowGameObject = (SerializedNamedStateReader.Instance.ReadUnityEngineObject(&var_0_cp_0[var_0_cp_1] + 4716) as GameObject);
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 4733);
            this.GunLocatorGameObjects = new List <GameObject>(num);
            for (int i = 0; i < num; i++)
            {
                this.GunLocatorGameObjects.Add(SerializedNamedStateReader.Instance.ReadUnityEngineObject((IntPtr)0) as GameObject);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            this.TickerGameObject = (SerializedNamedStateReader.Instance.ReadUnityEngineObject(&var_0_cp_0[var_0_cp_1] + 4755) as GameObject);
        }
        if (depth <= 7)
        {
            this.MeterGameObject = (SerializedNamedStateReader.Instance.ReadUnityEngineObject(&var_0_cp_0[var_0_cp_1] + 4772) as GameObject);
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 4788);
            this.OtherGameObjects = new List <GameObject>(num);
            for (int i = 0; i < num; i++)
            {
                this.OtherGameObjects.Add(SerializedNamedStateReader.Instance.ReadUnityEngineObject((IntPtr)0) as GameObject);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 4805);
            this.ListOfAnimationTracks = new List <AnimationClip>(num);
            for (int i = 0; i < num; i++)
            {
                this.ListOfAnimationTracks.Add(SerializedNamedStateReader.Instance.ReadUnityEngineObject((IntPtr)0) as AnimationClip);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        if (depth <= 7)
        {
            int num = SerializedNamedStateReader.Instance.BeginSequenceGroup(&var_0_cp_0[var_0_cp_1] + 4827);
            this.ListOfParticleSystems = new List <ParticleSystem>(num);
            for (int i = 0; i < num; i++)
            {
                this.ListOfParticleSystems.Add(SerializedNamedStateReader.Instance.ReadUnityEngineObject((IntPtr)0) as ParticleSystem);
            }
            SerializedNamedStateReader.Instance.EndMetaGroup();
        }
        this.WalkSpeed = SerializedNamedStateReader.Instance.ReadSingle(&var_0_cp_0[var_0_cp_1] + 4849);
        this.RunSpeed  = SerializedNamedStateReader.Instance.ReadSingle(&var_0_cp_0[var_0_cp_1] + 4859);
    }