Reorganize scripts into subfolders by responsibility
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>
This commit is contained in:
1 parent
382bfb36df
commit
e23fae0c50
126 files changed
+112
No files matched your search
@@ -0,0 +1,18 @@
|
||||
/// <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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user