Move scripts under Assets/Scripts/ into Components, GameMode, Helper, Network, Enum, Struct and ScriptableObject folders. Pure file moves (plus folder .meta files); no code changes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
19 lines
470 B
C#
19 lines
470 B
C#
/// <summary>
|
|
/// Player walks with WASD/Space, the camera orbits freely with the mouse.
|
|
/// Painting is disabled.
|
|
/// </summary>
|
|
public class PlayerControlMode : GameMode
|
|
{
|
|
public override string DisplayName => "Player Control";
|
|
|
|
public override void Enter()
|
|
{
|
|
SetPlayerControl(true);
|
|
|
|
if (Manager.CameraInput)
|
|
Manager.CameraInput.LookMode = ThirdPersonOrbitInput.OrbitLookMode.AlwaysActive;
|
|
|
|
SetPainting(false);
|
|
}
|
|
}
|