Unity-Technologies / CharacterControllerSamples

Sample projects for the Unity.CharacterController package
Other
258 stars 46 forks source link

Line 194 use ecb. instead of state.EntityManager #4

Open KirkGamesLLC opened 1 year ago

KirkGamesLLC commented 1 year ago

https://github.com/Unity-Technologies/CharacterControllerSamples/blob/cbf6e6e628e7baaa8a39d7098a88c658d433df20/OnlineFPS/Assets/Scripts/GameManagement/ServerGameSystem.cs#L194C21-L194C91

Entity joinRequestAcceptedEntity = state.EntityManager.CreateEntity(); should be Entity joinRequestAcceptedEntity = ecb.CreateEntity();