Unity-ECS-ZombieSimulator
Unity-ECS-ZombieSimulator copied to clipboard
fix native collection has not been disposed error
Hello, can i try optimize performance and contribute to this project?
If we are about disposing arrays, let's dispose NativeArrays in HumanNavigationSystem, too
protected override void OnDestroyManager()
{
base.OnDestroyManager();
randomFloats.Dispose();
randomFloats2.Dispose();
}