31 lines
872 B
C#
31 lines
872 B
C#
|
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();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|