refactor: Shortened Code
This commit is contained in:
@@ -68,6 +68,9 @@ public class MonoGameCameraBehaviour : BehaviourOverride
|
||||
set => Transform.Rotation = value;
|
||||
}
|
||||
|
||||
protected override void OnFirstActiveFrame()
|
||||
=> Viewport = GamePong.graphics.GraphicsDevice.Viewport;
|
||||
|
||||
protected override void OnPreDraw()
|
||||
{
|
||||
MatrixTransform =
|
||||
|
Reference in New Issue
Block a user