Esempio n. 1
0
    public static void WhiteModel()
    {
        BigWorldInfo = Application.streamingAssetsPath + "/" + BigWorldFile;
        GameObject             obj    = GameObject.FindGameObjectWithTag("sceneRoot");
        WhiteModelSystemEditor system = new WhiteModelSystemEditor(obj);

        system.SetWhiteMaterial();
    }
Esempio n. 2
0
    public static void SetModelMaterial()
    {
        BigWorldInfo = Application.streamingAssetsPath + "/" + BigWorldFile;
        GameObject obj = GameObject.FindGameObjectWithTag("sceneRoot");

        obj = obj.transform.Find("ChengShiDiTu_03").gameObject;
        WhiteModelSystemEditor system = new WhiteModelSystemEditor(obj);

        system.SetModelMaterial();
    }