[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:
Tebjan Halm 2022-07-17 15:35:53 +02:00 коммит произвёл xen2
Родитель 7eddd5b3f6
Коммит 81826299ac
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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;