Exemplo n.º 1
0
    void CreateScript()
    {
        nonStaticBuildingType = buildingType;
        ScriptableObjectUtility.CreateBuildingAsset(buildingType, buildingName);

        /*else if(buildingType == "Manufacturing")
         *      ScriptableObjectUtility.CreateBuildingAsset(buildingType, buildingName);
         * else if (buildingType == "Research")
         *      ScriptableObjectUtility.CreateBuildingAsset(buildingType, buildingName);
         * else if (buildingType == "NaturalResources")
         *      ScriptableObjectUtility.CreateBuildingAsset(buildingType, buildingName);
         */
    }