From 5a5049b0431aed30003cb4788c41fa88efe38a55 Mon Sep 17 00:00:00 2001 From: teascade Date: Fri, 7 Aug 2020 21:23:21 +0300 Subject: [PATCH] Change Player namespace to Players --- Assets/Scripts/{Net.meta => Networking.meta} | 2 +- Assets/Scripts/{Player.meta => Players.meta} | 2 +- Assets/Scripts/{Player => Players}/LocalPlayer.cs | 2 +- Assets/Scripts/{Player => Players}/LocalPlayer.cs.meta | 0 Assets/Scripts/{Player => Players}/MoveStyle.cs | 2 +- Assets/Scripts/{Player => Players}/MoveStyle.cs.meta | 0 Assets/Scripts/{Player => Players}/Player.cs | 2 +- Assets/Scripts/{Player => Players}/Player.cs.meta | 0 Assets/Scripts/{Player => Players}/RemotePlayer.cs | 2 +- Assets/Scripts/{Player => Players}/RemotePlayer.cs.meta | 0 10 files changed, 6 insertions(+), 6 deletions(-) rename Assets/Scripts/{Net.meta => Networking.meta} (77%) rename Assets/Scripts/{Player.meta => Players.meta} (77%) rename Assets/Scripts/{Player => Players}/LocalPlayer.cs (98%) rename Assets/Scripts/{Player => Players}/LocalPlayer.cs.meta (100%) rename Assets/Scripts/{Player => Players}/MoveStyle.cs (97%) rename Assets/Scripts/{Player => Players}/MoveStyle.cs.meta (100%) rename Assets/Scripts/{Player => Players}/Player.cs (99%) rename Assets/Scripts/{Player => Players}/Player.cs.meta (100%) rename Assets/Scripts/{Player => Players}/RemotePlayer.cs (97%) rename Assets/Scripts/{Player => Players}/RemotePlayer.cs.meta (100%) diff --git a/Assets/Scripts/Net.meta b/Assets/Scripts/Networking.meta similarity index 77% rename from Assets/Scripts/Net.meta rename to Assets/Scripts/Networking.meta index 34d5379..317068a 100644 --- a/Assets/Scripts/Net.meta +++ b/Assets/Scripts/Networking.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 5b2b07bcc084a8f449d46fad84fb9149 +guid: f7ef75751423d664e95dbfda91ba10a6 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Assets/Scripts/Player.meta b/Assets/Scripts/Players.meta similarity index 77% rename from Assets/Scripts/Player.meta rename to Assets/Scripts/Players.meta index 7c838f6..18a2982 100644 --- a/Assets/Scripts/Player.meta +++ b/Assets/Scripts/Players.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 547a2f92b7463b5479ca4bf370d32fa6 +guid: 5b50c83de36a9c64ca6b290e206f22ee folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Assets/Scripts/Player/LocalPlayer.cs b/Assets/Scripts/Players/LocalPlayer.cs similarity index 98% rename from Assets/Scripts/Player/LocalPlayer.cs rename to Assets/Scripts/Players/LocalPlayer.cs index b3f84f5..8fced21 100644 --- a/Assets/Scripts/Player/LocalPlayer.cs +++ b/Assets/Scripts/Players/LocalPlayer.cs @@ -3,7 +3,7 @@ using UnityEngine.InputSystem; using NeonTea.Quakeball.Networking; using NeonTea.Quakeball.Networking.Packets; -namespace NeonTea.Quakeball.Player { +namespace NeonTea.Quakeball.Players { /// A controller class for a local player. Handles input and updates the relevant components. [RequireComponent(typeof(Player))] public class LocalPlayer : MonoBehaviour { diff --git a/Assets/Scripts/Player/LocalPlayer.cs.meta b/Assets/Scripts/Players/LocalPlayer.cs.meta similarity index 100% rename from Assets/Scripts/Player/LocalPlayer.cs.meta rename to Assets/Scripts/Players/LocalPlayer.cs.meta diff --git a/Assets/Scripts/Player/MoveStyle.cs b/Assets/Scripts/Players/MoveStyle.cs similarity index 97% rename from Assets/Scripts/Player/MoveStyle.cs rename to Assets/Scripts/Players/MoveStyle.cs index 488e894..409d5ed 100644 --- a/Assets/Scripts/Player/MoveStyle.cs +++ b/Assets/Scripts/Players/MoveStyle.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace NeonTea.Quakeball.Player { +namespace NeonTea.Quakeball.Players { /// Different modes of transportation. [CreateAssetMenu(fileName = "Moving", menuName = "Quakeball/MoveStyle")] public class MoveStyle : ScriptableObject { diff --git a/Assets/Scripts/Player/MoveStyle.cs.meta b/Assets/Scripts/Players/MoveStyle.cs.meta similarity index 100% rename from Assets/Scripts/Player/MoveStyle.cs.meta rename to Assets/Scripts/Players/MoveStyle.cs.meta diff --git a/Assets/Scripts/Player/Player.cs b/Assets/Scripts/Players/Player.cs similarity index 99% rename from Assets/Scripts/Player/Player.cs rename to Assets/Scripts/Players/Player.cs index 48d0bef..c3a9107 100644 --- a/Assets/Scripts/Player/Player.cs +++ b/Assets/Scripts/Players/Player.cs @@ -1,7 +1,7 @@ using UnityEngine; using NeonTea.Quakeball.Networking.Packets; -namespace NeonTea.Quakeball.Player { +namespace NeonTea.Quakeball.Players { /// The central glue class for players (both local and remote). /// Other classes will handle netcode/inputs, and then speak to this class in order to make the little people run around. [RequireComponent(typeof(CharacterController))] diff --git a/Assets/Scripts/Player/Player.cs.meta b/Assets/Scripts/Players/Player.cs.meta similarity index 100% rename from Assets/Scripts/Player/Player.cs.meta rename to Assets/Scripts/Players/Player.cs.meta diff --git a/Assets/Scripts/Player/RemotePlayer.cs b/Assets/Scripts/Players/RemotePlayer.cs similarity index 97% rename from Assets/Scripts/Player/RemotePlayer.cs rename to Assets/Scripts/Players/RemotePlayer.cs index 745ce7b..2251b43 100644 --- a/Assets/Scripts/Player/RemotePlayer.cs +++ b/Assets/Scripts/Players/RemotePlayer.cs @@ -2,7 +2,7 @@ using NeonTea.Quakeball.Networking.Packets; using NeonTea.Quakeball.Interface; -namespace NeonTea.Quakeball.Player { +namespace NeonTea.Quakeball.Players { /// A controller class for a remote player. Gets updates from the network and touches the relevant components. [RequireComponent(typeof(Player))] public class RemotePlayer : MonoBehaviour { diff --git a/Assets/Scripts/Player/RemotePlayer.cs.meta b/Assets/Scripts/Players/RemotePlayer.cs.meta similarity index 100% rename from Assets/Scripts/Player/RemotePlayer.cs.meta rename to Assets/Scripts/Players/RemotePlayer.cs.meta