Ejemplo n.º 1
0
    private void DrawLookAtItem()
    {
        var component = AllServices.RaycastService.Raycast <IComponent>(_player.Transform.ToRay(), 100);

        if (component != null)
        {
            _currentObjectDrawer.Add(component);
            _currentObjectDrawer.Draw();
        }
    }