public static void CreateYourScriptableObject()
        {
            VegetationPackagePro vegetationPackagePro = ScriptableObjectUtility.CreateAndReturnAsset <VegetationPackagePro>();

            vegetationPackagePro.TerrainTextureCount = 0;
            vegetationPackagePro.InitPackage();
        }
        public static void CreateVegetationPackageObject16Textures()
        {
            VegetationPackagePro vegetationPackagePro = ScriptableObjectUtility.CreateAndReturnAsset <VegetationPackagePro>();

            vegetationPackagePro.TerrainTextureCount = 16;
            vegetationPackagePro.InitPackage();
            vegetationPackagePro.LoadDefaultTextures();
            vegetationPackagePro.SetupTerrainTextureSettings();
        }
Ejemplo n.º 3
0
 public static void CreatePersistentVegetationStoragePackage()
 {
     ScriptableObjectUtility.CreateAndReturnAsset <PersistentVegetationStoragePackage>();
 }
Ejemplo n.º 4
0
 public static void CreateMeshTerrainDataScriptableObject()
 {
     ScriptableObjectUtility.CreateAndReturnAsset <MeshTerrainData>();
 }