22 lines
481 B
C#
22 lines
481 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using BITKit.OpenWorld;
|
|
using UnityEngine;
|
|
#if UNITY_EDITOR
|
|
using UnityEditor;
|
|
#endif
|
|
namespace BITKit.OpenWorld
|
|
{
|
|
public class ChunkBehaviour : ChunkObject
|
|
{
|
|
public event Action<int,int> OnLodChangedEvent;
|
|
protected override void OnLodChanged(int oldLod, int newLod)
|
|
{
|
|
base.OnLodChanged(oldLod, newLod);
|
|
OnLodChangedEvent?.Invoke(oldLod,newLod);
|
|
}
|
|
}
|
|
}
|
|
|