protected override void MapObjects()
    {
        //Main Camera
        GameObject gameObject12310 = new GameObject();

        SetObject(12310, gameObject12310);
        Transform transform12316 = gameObject12310.transform;

        SetObject(12316, transform12316);
        UnityEngine.Camera component12314 = gameObject12310.AddComponent <UnityEngine.Camera>();
        SetObject(12314, component12314);
        UnityEngine.AudioListener component12312 = gameObject12310.AddComponent <UnityEngine.AudioListener>();
        SetObject(12312, component12312);

        //Directional Light
        GameObject gameObject12318 = new GameObject();

        SetObject(12318, gameObject12318);
        Transform transform12322 = gameObject12318.transform;

        SetObject(12322, transform12322);
        UnityEngine.Light component12320 = gameObject12318.AddComponent <UnityEngine.Light>();
        SetObject(12320, component12320);

        //bbgbfbdb
        GameObject gameObject_2144 = new GameObject();

        SetObject(-2144, gameObject_2144);
        Transform transform_2146 = gameObject_2144.transform;

        SetObject(-2146, transform_2146);
        NewBehaviourScript1 component_2224 = gameObject_2144.AddComponent <NewBehaviourScript1>();

        SetObject(-2224, component_2224);
    }
示例#2
0
    private GameObject blep_Init()
    {
        GameObject goblep_12536 = (GetObject(12536) as GameObject);

        goblep_12536.name = "blep";
        goblep_12536.tag  = "Untagged";
        UnityEngine.Transform comblep_transform_0_12538 = (GetObject(12538) as UnityEngine.Transform);
        comblep_transform_0_12538.hierarchyCapacity = 4;
        {
            GameObject gogameobject_12540 = (GetObject(12540) as GameObject);
            gogameobject_12540.name = "GameObject";
            gogameobject_12540.tag  = "Untagged";
            UnityEngine.Transform comgameobject_transform_0_12542 = (GetObject(12542) as UnityEngine.Transform);
            comgameobject_transform_0_12542.parent            = (GetObject(12538) as UnityEngine.Transform);
            comgameobject_transform_0_12542.hierarchyCapacity = 4;
            NewBehaviourScript1 comgameobject_newbehaviourscript1_0_12544 = (GetObject(12544) as NewBehaviourScript1);
            comgameobject_newbehaviourscript1_0_12544.rir        = new System.Int32[] { 3, 76, 42 };
            comgameobject_newbehaviourscript1_0_12544.testObj    = (GetObject(12566) as UnityEngine.GameObject);
            comgameobject_newbehaviourscript1_0_12544.tempStruct = default(TempStruct);
            comgameobject_newbehaviourscript1_0_12544.tempClass  = default(TempClass);
            comgameobject_newbehaviourscript1_0_12544.testObj2   = default(UnityEngine.GameObject);
            GameObject gogameobject_1__12552 = (GetObject(12552) as GameObject);
            gogameobject_1__12552.name = "GameObject (1)";
            gogameobject_1__12552.tag  = "Untagged";
            UnityEngine.Transform comgameobject_1__transform_0_12554 = (GetObject(12554) as UnityEngine.Transform);
            comgameobject_1__transform_0_12554.parent            = (GetObject(12538) as UnityEngine.Transform);
            comgameobject_1__transform_0_12554.hierarchyCapacity = 4;
            {
                GameObject goaudioSource_12546 = (GetObject(12546) as GameObject);
                goaudioSource_12546.name = "Audio Source";
                goaudioSource_12546.tag  = "Untagged";
                UnityEngine.Transform comaudioSource_transform_0_12548 = (GetObject(12548) as UnityEngine.Transform);
                comaudioSource_transform_0_12548.parent            = (GetObject(12554) as UnityEngine.Transform);
                comaudioSource_transform_0_12548.hierarchyCapacity = 4;
                UnityEngine.AudioSource comaudioSource_audiosource_0_12550 = (GetObject(12550) as UnityEngine.AudioSource);
            }
        }
        return(goblep_12536);
    }
    private GameObject bbgbfbdb_Init()
    {
        GameObject gobbgbfbdb__2144 = (GetObject(-2144) as GameObject);

        gobbgbfbdb__2144.name = "bbgbfbdb";
        gobbgbfbdb__2144.tag  = "Untagged";
        UnityEngine.Transform combbgbfbdb_transform_0__2146 = (GetObject(-2146) as UnityEngine.Transform);
        combbgbfbdb_transform_0__2146.position         = new Vector3(0f, 0f, 0f);
        combbgbfbdb_transform_0__2146.localPosition    = new Vector3(0f, 0f, 0f);
        combbgbfbdb_transform_0__2146.eulerAngles      = new Vector3(0f, 0f, 0f);
        combbgbfbdb_transform_0__2146.localEulerAngles = new Vector3(0f, 0f, 0f);
        combbgbfbdb_transform_0__2146.right            = new Vector3(1f, 0f, 0f);
        combbgbfbdb_transform_0__2146.up                = new Vector3(0f, 1f, 0f);
        combbgbfbdb_transform_0__2146.forward           = new Vector3(0f, 0f, 1f);
        combbgbfbdb_transform_0__2146.rotation          = new Quaternion(0f, 0f, 0f, 1f);
        combbgbfbdb_transform_0__2146.localRotation     = new Quaternion(0f, 0f, 0f, 1f);
        combbgbfbdb_transform_0__2146.localScale        = new Vector3(1f, 1f, 1f);
        combbgbfbdb_transform_0__2146.parent            = null;
        combbgbfbdb_transform_0__2146.hasChanged        = true;
        combbgbfbdb_transform_0__2146.hierarchyCapacity = 1;
        combbgbfbdb_transform_0__2146.tag               = "Untagged";
        combbgbfbdb_transform_0__2146.hideFlags         = UnityEngine.HideFlags.None;
        NewBehaviourScript1 combbgbfbdb_newbehaviourscript1_0__2224 = (GetObject(-2224) as NewBehaviourScript1);

        combbgbfbdb_newbehaviourscript1_0__2224.useGUILayout  = true;
        combbgbfbdb_newbehaviourscript1_0__2224.runInEditMode = false;
        combbgbfbdb_newbehaviourscript1_0__2224.enabled       = true;
        combbgbfbdb_newbehaviourscript1_0__2224.tag           = "Untagged";
        combbgbfbdb_newbehaviourscript1_0__2224.hideFlags     = UnityEngine.HideFlags.None;
        combbgbfbdb_newbehaviourscript1_0__2224.die           = "dsadsasd";
        combbgbfbdb_newbehaviourscript1_0__2224.rir           = new System.Int32[] {  };
        combbgbfbdb_newbehaviourscript1_0__2224.testObj       = (GetObject(0) as UnityEngine.GameObject);
        combbgbfbdb_newbehaviourscript1_0__2224.tempStruct    = default(TempStruct);
        combbgbfbdb_newbehaviourscript1_0__2224.tempClass     = default(TempClass);
        return(gobbgbfbdb__2144);
    }
示例#4
0
    // Use this for initialization
    void Start()
    {
        NewBehaviourScript1.Connect();

        // StartCoroutine(Recive());
    }
示例#5
0
    protected override void MapObjects()
    {
        //Main Camera
        GameObject gameObject12566 = new GameObject();

        SetObject(12566, gameObject12566);
        Transform transform12572 = gameObject12566.transform;

        SetObject(12572, transform12572);
        UnityEngine.Camera component12570 = gameObject12566.AddComponent <UnityEngine.Camera>();
        SetObject(12570, component12570);
        UnityEngine.AudioListener component12568 = gameObject12566.AddComponent <UnityEngine.AudioListener>();
        SetObject(12568, component12568);

        //Directional Light
        GameObject gameObject12560 = new GameObject();

        SetObject(12560, gameObject12560);
        Transform transform12564 = gameObject12560.transform;

        SetObject(12564, transform12564);
        UnityEngine.Light component12562 = gameObject12560.AddComponent <UnityEngine.Light>();
        SetObject(12562, component12562);

        //deathToAmeri ca
        GameObject gameObject12556 = new GameObject();

        SetObject(12556, gameObject12556);
        Transform transform12558 = gameObject12556.transform;

        SetObject(12558, transform12558);

        //blep
        GameObject gameObject12536 = new GameObject();

        SetObject(12536, gameObject12536);
        Transform transform12538 = gameObject12536.transform;

        SetObject(12538, transform12538);

        //GameObject
        GameObject gameObject12540 = new GameObject();

        SetObject(12540, gameObject12540);
        Transform transform12542 = gameObject12540.transform;

        SetObject(12542, transform12542);
        NewBehaviourScript1 component12544 = gameObject12540.AddComponent <NewBehaviourScript1>();

        SetObject(12544, component12544);

        //GameObject (1)
        GameObject gameObject12552 = new GameObject();

        SetObject(12552, gameObject12552);
        Transform transform12554 = gameObject12552.transform;

        SetObject(12554, transform12554);

        //Audio Source
        GameObject gameObject12546 = new GameObject();

        SetObject(12546, gameObject12546);
        Transform transform12548 = gameObject12546.transform;

        SetObject(12548, transform12548);
        UnityEngine.AudioSource component12550 = gameObject12546.AddComponent <UnityEngine.AudioSource>();
        SetObject(12550, component12550);

        //DefaultMcGee
        GameObject gameObject_6870 = new GameObject();

        SetObject(-6870, gameObject_6870);
        Transform transform_6872 = gameObject_6870.transform;

        SetObject(-6872, transform_6872);
    }
 // Start is called before the first frame update
 void Start()
 {
     DontDestroyOnLoad(gameObject);
     so = Instantiate(so);
 }