private void OnCollision(IInteractable targetView) { if (targetView == null) { return; } var target = new InteractStateModel.TargetEntity(targetView.EntityType, targetView.EntityId); _interactState._InteractedWith(target); }
private void CollidedEntities(InteractStateModel.TargetEntity target) { Logger.Print("Freezer interact with: " + target.Type.ToString()); _targetCharacter = CharacterModel.GetByParent(target.Type, target.Id); }