Example #1
0
    static public void ODQCOCOQQC(RoadObjectScript target)
    {
        ODCDDQQDDC.OQDOOQQCDD(target.transform);

        List <ODODDQQO> arr = ODCDDQQDDC.OCDOQDQCOQ(false);

        target.OODDDQDCDC(arr, ODCDDQQDDC.OCQCOCOODC(arr), ODCDDQQDDC.ODQQOQCDOC(arr));
        Transform mySideObject = OCODCDODOC(target);

        OQOQDQOCQD(target.ODQQOCODOC, target.transform, target.OQOODOQDCO(), target.OOQDOOQQ, target.OOQQQOQO, target.raise, target, mySideObject);



        target.ODODDDOO = true;
    }
Example #2
0
    static public void OOCQCCDOQQ(sideObjectScript scr, int index, RoadObjectScript target, Transform go)
    {
        string    n = go.gameObject.name;
        Transform p = go.parent;

        if (go != null)
        {
            MonoBehaviour.DestroyImmediate(go.gameObject);
        }
        List <ODODDQQO> arr = ODCDDQQDDC.OCDOQDQCOQ(false);
        ODODDQQO        so  = (ODODDQQO)arr[index];

        ODOOCDQQQC(n, p, so, index, target);

        GameObject goi = null;

        if (so.OQCOCDCCQC != "")
        {
            goi = (GameObject)AssetDatabase.LoadAssetAtPath(AssetDatabase.GUIDToAssetPath(so.OQCOCDCCQC), typeof(GameObject));
        }
        GameObject ODQDOQCCDQ = null;

        if (so.OQDCOQODOQ != "")
        {
            ODQDOQCCDQ = (GameObject)AssetDatabase.LoadAssetAtPath(AssetDatabase.GUIDToAssetPath(so.OQDCOQODOQ), typeof(GameObject));
        }
        GameObject OOOQDCCQDC = null;

        if (so.OOCCDDQQCD != "")
        {
            OOOQDCCQDC = (GameObject)AssetDatabase.LoadAssetAtPath(AssetDatabase.GUIDToAssetPath(so.OOCCDDQQCD), typeof(GameObject));
        }

        ODCDDQQDDC.OQDCQDOCQC(target.ODQQOCODOC, target.transform, target.OQOODOQDCO(), target.OOQDOOQQ, index, target.raise, goi, ODQDOQCCDQ, OOOQDCCQDC);
        arr = null;
    }