Skip to content

Commit

Permalink
chore: update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisonHough committed Jan 11, 2024
1 parent 1930908 commit 9375eca
Show file tree
Hide file tree
Showing 36 changed files with 97 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "ReadyPlayerMe.Core.SimpleAvatarCreator",
"name": "ReadyPlayerMe.Samples.SimpleAvatarCreator",
"rootNamespace": "",
"references": [
"GUID:17748b800004d56448cf421c62fb675b",
"GUID:96af4ea235d92d245a095007c6ca3701"
"ReadyPlayerMe.AvatarCreator",
"ReadyPlayerMe.Core"
],
"includePlatforms": [],
"excludePlatforms": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#pragma warning disable CS4014
#pragma warning disable CS1998

namespace ReadyPlayerMe
namespace ReadyPlayerMe.Samples.SimpleAvatarCreator
{
public class SimpleAvatarCreator : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using ReadyPlayerMe.Core;
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.AvatarLoading
{
/// <summary>
/// This class is a simple <see cref="Monobehaviour"/> to serve as an example on how to load Ready Player Me avatars and spawn as a <see cref="GameObject"/> into the scene.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using ReadyPlayerMe.Core;
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.AvatarLoading
{
/// <summary>
/// This class is a simple <see cref="Monobehaviour"/> to serve as an example on how to load a Ready Player Me avatar with multiple LOD's (level of detail) and spawn as a <see cref="GameObject"/> into the scene at runtime.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.UI;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.AvatarLoading
{
public class AvatarLodExampleUI : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using ReadyPlayerMe.Core;
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.AvatarLoading
{
/// <summary>
/// This class is a simple <see cref="Monobehaviour"/> to serve as an example on how to load Ready Player Me avatars and spawn as a <see cref="GameObject"/> into the scene.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using UnityEngine;
using UnityEngine.UI;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.AvatarLoading
{
public class MultipleQualityAvatarLoadingExample : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "ReadyPlayerMe.Samples.AvatarLoading",
"rootNamespace": "",
"references": [
"ReadyPlayerMe.Core"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.UI;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.AvatarRenders
{
public class RenderPanel : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "ReadyPlayerMe.Samples.AvatarRenders",
"rootNamespace": "",
"references": [
"ReadyPlayerMe.Core"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions Samples~/QuickStart/ReadyPlayerMe.Samples.QuickStart.asmdef
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "ReadyPlayerMe.Samples.QuickStart",
"rootNamespace": "",
"references": [
"ReadyPlayerMe.Core"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Samples~/QuickStart/Scripts/CameraFollow.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using ReadyPlayerMe.Core;
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.QuickStart
{
public class CameraFollow : MonoBehaviour
{
Expand Down
2 changes: 1 addition & 1 deletion Samples~/QuickStart/Scripts/CameraOrbit.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.QuickStart
{
public class CameraOrbit : MonoBehaviour
{
Expand Down
2 changes: 1 addition & 1 deletion Samples~/QuickStart/Scripts/GroundCheck.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.QuickStart
{
public class GroundCheck : MonoBehaviour
{
Expand Down
2 changes: 1 addition & 1 deletion Samples~/QuickStart/Scripts/LoadingAnimation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using UnityEngine;
using ReadyPlayerMe;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.QuickStart
{
public class LoadingAnimation : MonoBehaviour
{
Expand Down
2 changes: 1 addition & 1 deletion Samples~/QuickStart/Scripts/LookAtCamera.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.QuickStart
{
public class LookAtCamera : MonoBehaviour
{
Expand Down
2 changes: 1 addition & 1 deletion Samples~/QuickStart/Scripts/MouseCursorLock.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.QuickStart
{
public class MouseCursorLock : MonoBehaviour
{
Expand Down
2 changes: 1 addition & 1 deletion Samples~/QuickStart/Scripts/PersonalAvatarLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using UnityEngine;
using UnityEngine.UI;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.QuickStart
{
public class PersonalAvatarLoader : MonoBehaviour
{
Expand Down
2 changes: 1 addition & 1 deletion Samples~/QuickStart/Scripts/PlayerInput.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.QuickStart
{
public class PlayerInput : MonoBehaviour
{
Expand Down
2 changes: 1 addition & 1 deletion Samples~/QuickStart/Scripts/ThirdPersonController.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.QuickStart
{
[RequireComponent(typeof(ThirdPersonMovement),typeof(PlayerInput))]
public class ThirdPersonController : MonoBehaviour
Expand Down
2 changes: 1 addition & 1 deletion Samples~/QuickStart/Scripts/ThirdPersonLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using ReadyPlayerMe.Core;
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.QuickStart
{
public class ThirdPersonLoader : MonoBehaviour
{
Expand Down
3 changes: 1 addition & 2 deletions Samples~/QuickStart/Scripts/ThirdPersonMovement.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.QuickStart
{
[RequireComponent(typeof(CharacterController), typeof(GroundCheck))]
public class ThirdPersonMovement : MonoBehaviour
Expand Down
2 changes: 1 addition & 1 deletion Samples~/WebGLSample/Editor/EditorWindows/SampleSetup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using UnityEditor;
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.WebGLSample.Editor
{
public static class SampleSetup
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ReadyPlayerMe.Core.WebGLSample",
"name": "ReadyPlayerMe.Samples.WebGLSample",
"rootNamespace": "",
"references": [
"ReadyPlayerMe.Core",
Expand Down
2 changes: 1 addition & 1 deletion Samples~/WebGLSample/Scripts/DebugLogger.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using UnityEngine;
using UnityEngine.UI;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.WebGLSample
{
public class DebugLogger : MonoBehaviour
{
Expand Down
2 changes: 1 addition & 1 deletion Samples~/WebGLSample/Scripts/DemoCanvas.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using UnityEngine;
using UnityEngine.UI;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.WebGLSample
{
public class DemoCanvas : MonoBehaviour
{
Expand Down
2 changes: 1 addition & 1 deletion Samples~/WebGLSample/Scripts/WebFrameHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using ReadyPlayerMe.Core.WebView;
using UnityEngine;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.WebGLSample
{
public enum AutoInitialize
{
Expand Down
2 changes: 1 addition & 1 deletion Samples~/WebGLSample/Scripts/WebGLAvatarLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using UnityEngine;
using BodyType = ReadyPlayerMe.Core.BodyType;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.WebGLSample
{
[RequireComponent(typeof(WebFrameHandler))]
public class WebGLAvatarLoader : MonoBehaviour
Expand Down
2 changes: 1 addition & 1 deletion Samples~/WebGLSample/Scripts/WebInterface.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace ReadyPlayerMe.Samples
namespace ReadyPlayerMe.Samples.WebGLSample
{
public static class WebInterface
{
Expand Down

0 comments on commit 9375eca

Please sign in to comment.