[Samples] Fix build error of VRSanbox
Just removing a null check, as the type has changed from class to a struct and cannot be null. Fixes #1457
This commit is contained in:
Родитель
7eddd5b3f6
Коммит
81826299ac
|
@ -114,8 +114,8 @@ namespace VRSandbox.Player
|
|||
while (enumerator.MoveNext())
|
||||
{
|
||||
var collision = enumerator.Current;
|
||||
var entityA = collision?.ColliderA?.Entity;
|
||||
var entityB = collision?.ColliderB?.Entity;
|
||||
var entityA = collision.ColliderA?.Entity;
|
||||
var entityB = collision.ColliderB?.Entity;
|
||||
|
||||
var otherEntity = (entityA == Entity) ? entityB : entityA;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче