From be6c6c7c64cc547ca773e8c11e375c510c8e2afd Mon Sep 17 00:00:00 2001 From: JesusLuvsYooh <57072365+JesusLuvsYooh@users.noreply.github.com> Date: Fri, 5 Jan 2024 13:26:11 +0000 Subject: [PATCH] Renamed example scene to better explain its purpose. (#3717) * Renamed example scene to better explain its purpose. Made Mirror Better * TanksCoop Scripts and folders renamed. * Removed the s Removed the s --- Assets/Mirror/Examples/{TanksCoop.meta => TankTheftAuto.meta} | 0 .../Mirror/Examples/{TanksCoop => TankTheftAuto}/Materials.meta | 0 .../{TanksCoop => TankTheftAuto}/Materials/MaterialPlayer.mat | 0 .../Materials/MaterialPlayer.mat.meta | 0 .../{TanksCoop => TankTheftAuto}/Materials/MaterialTrigger.mat | 0 .../Materials/MaterialTrigger.mat.meta | 0 .../MirrorTankTheftAuto.unity} | 0 .../MirrorTankTheftAuto.unity.meta} | 0 .../Mirror/Examples/{TanksCoop => TankTheftAuto}/Prefabs.meta | 0 .../Examples/{TanksCoop => TankTheftAuto}/Prefabs/Player.prefab | 0 .../{TanksCoop => TankTheftAuto}/Prefabs/Player.prefab.meta | 0 .../{TanksCoop => TankTheftAuto}/Prefabs/Projectile.prefab | 0 .../{TanksCoop => TankTheftAuto}/Prefabs/Projectile.prefab.meta | 0 .../{TanksCoop => TankTheftAuto}/Prefabs/TankShared.prefab | 0 .../{TanksCoop => TankTheftAuto}/Prefabs/TankShared.prefab.meta | 0 .../Mirror/Examples/{TanksCoop => TankTheftAuto}/Scripts.meta | 0 .../Scripts/AuthorityNetworkManager.cs | 2 +- .../Scripts/AuthorityNetworkManager.cs.meta | 0 .../{TanksCoop => TankTheftAuto}/Scripts/PlayerCamera.cs | 2 +- .../{TanksCoop => TankTheftAuto}/Scripts/PlayerCamera.cs.meta | 0 .../{TanksCoop => TankTheftAuto}/Scripts/PlayerController.cs | 2 +- .../Scripts/PlayerController.cs.meta | 0 .../Examples/{TanksCoop => TankTheftAuto}/Scripts/Projectile.cs | 2 +- .../{TanksCoop => TankTheftAuto}/Scripts/Projectile.cs.meta | 0 .../{TanksCoop => TankTheftAuto}/Scripts/TankController.cs | 2 +- .../{TanksCoop => TankTheftAuto}/Scripts/TankController.cs.meta | 0 26 files changed, 5 insertions(+), 5 deletions(-) rename Assets/Mirror/Examples/{TanksCoop.meta => TankTheftAuto.meta} (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Materials.meta (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Materials/MaterialPlayer.mat (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Materials/MaterialPlayer.mat.meta (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Materials/MaterialTrigger.mat (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Materials/MaterialTrigger.mat.meta (100%) rename Assets/Mirror/Examples/{TanksCoop/MirrorTanksCoop.unity => TankTheftAuto/MirrorTankTheftAuto.unity} (100%) rename Assets/Mirror/Examples/{TanksCoop/MirrorTanksCoop.unity.meta => TankTheftAuto/MirrorTankTheftAuto.unity.meta} (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Prefabs.meta (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Prefabs/Player.prefab (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Prefabs/Player.prefab.meta (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Prefabs/Projectile.prefab (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Prefabs/Projectile.prefab.meta (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Prefabs/TankShared.prefab (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Prefabs/TankShared.prefab.meta (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Scripts.meta (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Scripts/AuthorityNetworkManager.cs (96%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Scripts/AuthorityNetworkManager.cs.meta (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Scripts/PlayerCamera.cs (97%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Scripts/PlayerCamera.cs.meta (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Scripts/PlayerController.cs (99%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Scripts/PlayerController.cs.meta (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Scripts/Projectile.cs (95%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Scripts/Projectile.cs.meta (100%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Scripts/TankController.cs (98%) rename Assets/Mirror/Examples/{TanksCoop => TankTheftAuto}/Scripts/TankController.cs.meta (100%) diff --git a/Assets/Mirror/Examples/TanksCoop.meta b/Assets/Mirror/Examples/TankTheftAuto.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop.meta rename to Assets/Mirror/Examples/TankTheftAuto.meta diff --git a/Assets/Mirror/Examples/TanksCoop/Materials.meta b/Assets/Mirror/Examples/TankTheftAuto/Materials.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Materials.meta rename to Assets/Mirror/Examples/TankTheftAuto/Materials.meta diff --git a/Assets/Mirror/Examples/TanksCoop/Materials/MaterialPlayer.mat b/Assets/Mirror/Examples/TankTheftAuto/Materials/MaterialPlayer.mat similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Materials/MaterialPlayer.mat rename to Assets/Mirror/Examples/TankTheftAuto/Materials/MaterialPlayer.mat diff --git a/Assets/Mirror/Examples/TanksCoop/Materials/MaterialPlayer.mat.meta b/Assets/Mirror/Examples/TankTheftAuto/Materials/MaterialPlayer.mat.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Materials/MaterialPlayer.mat.meta rename to Assets/Mirror/Examples/TankTheftAuto/Materials/MaterialPlayer.mat.meta diff --git a/Assets/Mirror/Examples/TanksCoop/Materials/MaterialTrigger.mat b/Assets/Mirror/Examples/TankTheftAuto/Materials/MaterialTrigger.mat similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Materials/MaterialTrigger.mat rename to Assets/Mirror/Examples/TankTheftAuto/Materials/MaterialTrigger.mat diff --git a/Assets/Mirror/Examples/TanksCoop/Materials/MaterialTrigger.mat.meta b/Assets/Mirror/Examples/TankTheftAuto/Materials/MaterialTrigger.mat.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Materials/MaterialTrigger.mat.meta rename to Assets/Mirror/Examples/TankTheftAuto/Materials/MaterialTrigger.mat.meta diff --git a/Assets/Mirror/Examples/TanksCoop/MirrorTanksCoop.unity b/Assets/Mirror/Examples/TankTheftAuto/MirrorTankTheftAuto.unity similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/MirrorTanksCoop.unity rename to Assets/Mirror/Examples/TankTheftAuto/MirrorTankTheftAuto.unity diff --git a/Assets/Mirror/Examples/TanksCoop/MirrorTanksCoop.unity.meta b/Assets/Mirror/Examples/TankTheftAuto/MirrorTankTheftAuto.unity.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/MirrorTanksCoop.unity.meta rename to Assets/Mirror/Examples/TankTheftAuto/MirrorTankTheftAuto.unity.meta diff --git a/Assets/Mirror/Examples/TanksCoop/Prefabs.meta b/Assets/Mirror/Examples/TankTheftAuto/Prefabs.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Prefabs.meta rename to Assets/Mirror/Examples/TankTheftAuto/Prefabs.meta diff --git a/Assets/Mirror/Examples/TanksCoop/Prefabs/Player.prefab b/Assets/Mirror/Examples/TankTheftAuto/Prefabs/Player.prefab similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Prefabs/Player.prefab rename to Assets/Mirror/Examples/TankTheftAuto/Prefabs/Player.prefab diff --git a/Assets/Mirror/Examples/TanksCoop/Prefabs/Player.prefab.meta b/Assets/Mirror/Examples/TankTheftAuto/Prefabs/Player.prefab.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Prefabs/Player.prefab.meta rename to Assets/Mirror/Examples/TankTheftAuto/Prefabs/Player.prefab.meta diff --git a/Assets/Mirror/Examples/TanksCoop/Prefabs/Projectile.prefab b/Assets/Mirror/Examples/TankTheftAuto/Prefabs/Projectile.prefab similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Prefabs/Projectile.prefab rename to Assets/Mirror/Examples/TankTheftAuto/Prefabs/Projectile.prefab diff --git a/Assets/Mirror/Examples/TanksCoop/Prefabs/Projectile.prefab.meta b/Assets/Mirror/Examples/TankTheftAuto/Prefabs/Projectile.prefab.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Prefabs/Projectile.prefab.meta rename to Assets/Mirror/Examples/TankTheftAuto/Prefabs/Projectile.prefab.meta diff --git a/Assets/Mirror/Examples/TanksCoop/Prefabs/TankShared.prefab b/Assets/Mirror/Examples/TankTheftAuto/Prefabs/TankShared.prefab similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Prefabs/TankShared.prefab rename to Assets/Mirror/Examples/TankTheftAuto/Prefabs/TankShared.prefab diff --git a/Assets/Mirror/Examples/TanksCoop/Prefabs/TankShared.prefab.meta b/Assets/Mirror/Examples/TankTheftAuto/Prefabs/TankShared.prefab.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Prefabs/TankShared.prefab.meta rename to Assets/Mirror/Examples/TankTheftAuto/Prefabs/TankShared.prefab.meta diff --git a/Assets/Mirror/Examples/TanksCoop/Scripts.meta b/Assets/Mirror/Examples/TankTheftAuto/Scripts.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Scripts.meta rename to Assets/Mirror/Examples/TankTheftAuto/Scripts.meta diff --git a/Assets/Mirror/Examples/TanksCoop/Scripts/AuthorityNetworkManager.cs b/Assets/Mirror/Examples/TankTheftAuto/Scripts/AuthorityNetworkManager.cs similarity index 96% rename from Assets/Mirror/Examples/TanksCoop/Scripts/AuthorityNetworkManager.cs rename to Assets/Mirror/Examples/TankTheftAuto/Scripts/AuthorityNetworkManager.cs index 7825e28f1..5face5fda 100644 --- a/Assets/Mirror/Examples/TanksCoop/Scripts/AuthorityNetworkManager.cs +++ b/Assets/Mirror/Examples/TankTheftAuto/Scripts/AuthorityNetworkManager.cs @@ -1,6 +1,6 @@ using System.Linq; -namespace Mirror.Examples.TanksCoop +namespace Mirror.Examples.TankTheftAuto { public class AuthorityNetworkManager : NetworkManager { diff --git a/Assets/Mirror/Examples/TanksCoop/Scripts/AuthorityNetworkManager.cs.meta b/Assets/Mirror/Examples/TankTheftAuto/Scripts/AuthorityNetworkManager.cs.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Scripts/AuthorityNetworkManager.cs.meta rename to Assets/Mirror/Examples/TankTheftAuto/Scripts/AuthorityNetworkManager.cs.meta diff --git a/Assets/Mirror/Examples/TanksCoop/Scripts/PlayerCamera.cs b/Assets/Mirror/Examples/TankTheftAuto/Scripts/PlayerCamera.cs similarity index 97% rename from Assets/Mirror/Examples/TanksCoop/Scripts/PlayerCamera.cs rename to Assets/Mirror/Examples/TankTheftAuto/Scripts/PlayerCamera.cs index 017855bfe..a60ac030d 100644 --- a/Assets/Mirror/Examples/TanksCoop/Scripts/PlayerCamera.cs +++ b/Assets/Mirror/Examples/TankTheftAuto/Scripts/PlayerCamera.cs @@ -3,7 +3,7 @@ // This sets up the scene camera for the local player -namespace Mirror.Examples.TanksCoop +namespace Mirror.Examples.TankTheftAuto { public class PlayerCamera : NetworkBehaviour { diff --git a/Assets/Mirror/Examples/TanksCoop/Scripts/PlayerCamera.cs.meta b/Assets/Mirror/Examples/TankTheftAuto/Scripts/PlayerCamera.cs.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Scripts/PlayerCamera.cs.meta rename to Assets/Mirror/Examples/TankTheftAuto/Scripts/PlayerCamera.cs.meta diff --git a/Assets/Mirror/Examples/TanksCoop/Scripts/PlayerController.cs b/Assets/Mirror/Examples/TankTheftAuto/Scripts/PlayerController.cs similarity index 99% rename from Assets/Mirror/Examples/TanksCoop/Scripts/PlayerController.cs rename to Assets/Mirror/Examples/TankTheftAuto/Scripts/PlayerController.cs index e36b777c0..de91007e2 100644 --- a/Assets/Mirror/Examples/TanksCoop/Scripts/PlayerController.cs +++ b/Assets/Mirror/Examples/TankTheftAuto/Scripts/PlayerController.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace Mirror.Examples.TanksCoop +namespace Mirror.Examples.TankTheftAuto { [RequireComponent(typeof(CapsuleCollider))] [RequireComponent(typeof(CharacterController))] diff --git a/Assets/Mirror/Examples/TanksCoop/Scripts/PlayerController.cs.meta b/Assets/Mirror/Examples/TankTheftAuto/Scripts/PlayerController.cs.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Scripts/PlayerController.cs.meta rename to Assets/Mirror/Examples/TankTheftAuto/Scripts/PlayerController.cs.meta diff --git a/Assets/Mirror/Examples/TanksCoop/Scripts/Projectile.cs b/Assets/Mirror/Examples/TankTheftAuto/Scripts/Projectile.cs similarity index 95% rename from Assets/Mirror/Examples/TanksCoop/Scripts/Projectile.cs rename to Assets/Mirror/Examples/TankTheftAuto/Scripts/Projectile.cs index 17d3fa477..faba0e712 100644 --- a/Assets/Mirror/Examples/TanksCoop/Scripts/Projectile.cs +++ b/Assets/Mirror/Examples/TankTheftAuto/Scripts/Projectile.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace Mirror.Examples.TanksCoop +namespace Mirror.Examples.TankTheftAuto { public class Projectile : NetworkBehaviour { diff --git a/Assets/Mirror/Examples/TanksCoop/Scripts/Projectile.cs.meta b/Assets/Mirror/Examples/TankTheftAuto/Scripts/Projectile.cs.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Scripts/Projectile.cs.meta rename to Assets/Mirror/Examples/TankTheftAuto/Scripts/Projectile.cs.meta diff --git a/Assets/Mirror/Examples/TanksCoop/Scripts/TankController.cs b/Assets/Mirror/Examples/TankTheftAuto/Scripts/TankController.cs similarity index 98% rename from Assets/Mirror/Examples/TanksCoop/Scripts/TankController.cs rename to Assets/Mirror/Examples/TankTheftAuto/Scripts/TankController.cs index 2f4a0c7bb..1b5eed95e 100644 --- a/Assets/Mirror/Examples/TanksCoop/Scripts/TankController.cs +++ b/Assets/Mirror/Examples/TankTheftAuto/Scripts/TankController.cs @@ -1,7 +1,7 @@ using UnityEngine; using UnityEngine.AI; -namespace Mirror.Examples.TanksCoop +namespace Mirror.Examples.TankTheftAuto { public class TankController : NetworkBehaviour { diff --git a/Assets/Mirror/Examples/TanksCoop/Scripts/TankController.cs.meta b/Assets/Mirror/Examples/TankTheftAuto/Scripts/TankController.cs.meta similarity index 100% rename from Assets/Mirror/Examples/TanksCoop/Scripts/TankController.cs.meta rename to Assets/Mirror/Examples/TankTheftAuto/Scripts/TankController.cs.meta