feat: camera following player

This commit is contained in:
2024-04-18 22:54:09 +07:00
parent 36af656e0d
commit bcd0650aed
10 changed files with 216 additions and 97 deletions

View File

@@ -1,3 +1,4 @@
using BakeryGame.Models;
using Raylib_cs;
using Scellecs.Morpeh;
@@ -5,5 +6,5 @@ namespace BakeryGame.Components.Player;
public struct CameraComponent : IComponent
{
public Camera3D Camera;
public CameraRef Camera;
}