Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NativeMultiHashMap<int,int> OnEnterCollisions = new...tempjob
- NativeMultiHashMap<int,int> OnExitCollisions = new...tempjob
- foreach (var detector in AllDetectors)
- {
- var allNewEnters = OnEnterCollisions.GetValuesForKey(detector.Key);
- var allNewExits = OnExitCollisions.GetValuesForKey(detector.Key);
- while (allNewEnters.MoveNext())
- {
- detector.Value.OnTargetEnter(allNewEnters.Current); <==== not the problem, occurs even with no function called
- }
- while (allNewExits.MoveNext())
- {
- detector.Value.OnTargetExit(allNewExits.Current); <==== not the problem, occurs even with no function called
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement