Firstborn/Assets/AwesomeTechnologies/VegetationStudioPro/Runtime/VegetationSystemPro/VegetationSystemPro_Predict...

31 lines
872 B
C#
Raw Permalink Normal View History

using System.Collections;
using System.Collections.Generic;
using AwesomeTechnologies.VegetationSystem;
using UnityEngine;
namespace AwesomeTechnologies.VegetationSystem
{
public partial class VegetationSystemPro
{
private void SetupPredictiveCellLoader()
{
PredictiveCellLoader = new PredictiveCellLoader(this);
}
public void PreloadArea(Rect rect, bool important)
{
PredictiveCellLoader?.PreloadArea(rect, important);
}
public void PreloadArea(Rect rect, List<VegetationCell> overlapVegetationCellList, bool important)
{
PredictiveCellLoader?.PreloadArea(rect,overlapVegetationCellList,important);
}
public void PreloadAllVegetationCells()
{
PredictiveCellLoader?.PreloadAllVegetationCells();
}
}
}