Fixed compilation error

This commit is contained in:
Diren D Bharwani 2022-10-28 14:23:11 +08:00
parent d4f775843c
commit 4fc87866ee
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ namespace SHADE
for (const auto& collider : GetNativeComponent()->GetColliders()) for (const auto& collider : GetNativeComponent()->GetColliders())
{ {
ColliderBound^ bound = nullptr; ColliderBound^ bound = nullptr;
switch (collider.first.GetType()) switch (collider.GetType())
{ {
case SHCollider::Type::BOX: case SHCollider::Type::BOX:
bound = gcnew BoxColliderBound(i, Owner.GetEntity()); bound = gcnew BoxColliderBound(i, Owner.GetEntity());