Skip to content

Commit

Permalink
add again "A" prefix to classes
Browse files Browse the repository at this point in the history
  • Loading branch information
imvenx committed Dec 14, 2023
1 parent 8f28e8b commit 556b77d
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Assets/ArcaneLibrary/Core/Scripts/Arcane.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class Arcane : MonoBehaviour
public static List<string> IframeViewsIds = new List<string>();
public static List<string> IframePadsIds = new List<string>();
public static ArcanePad Pad { get; private set; }
public string LibraryVersion { get; } = "1.1.2";
public string LibraryVersion { get; } = "1.1.3";
[DllImport("__Internal")]
private static extern void SetFullScreen();

Expand Down
2 changes: 1 addition & 1 deletion Assets/ArcaneLibrary/Example/Player.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ MonoBehaviour:
m_GameObject: {fileID: 2375617300940316993}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ba53df095a64c484bbd1fd2edc2828f4, type: 3}
m_Script: {fileID: 11500000, guid: c98b32c5dbdd3564d8b563e309d52fcd, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &3271154333716601645
Expand Down
2 changes: 1 addition & 1 deletion Assets/ArcaneLibrary/Example/Scenes/ViewScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ MonoBehaviour:
m_GameObject: {fileID: 1218785078}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 37e1567f0431af84b99d145bf44558af, type: 3}
m_Script: {fileID: 11500000, guid: 505c895d8ee010743a3b1b0e97682f60, type: 3}
m_Name:
m_EditorClassIdentifier:
playerPrefab: {fileID: 2375617300940316993, guid: 8e58d0990d55e95478256869ada82cbe, type: 3}
Expand Down

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

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 @@ -6,7 +6,7 @@

namespace ArcanepadExample
{
public class PadManager : MonoBehaviour
public class APadManager : MonoBehaviour
{
async void Awake()
{
Expand Down

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 @@ -4,7 +4,7 @@

namespace ArcanepadExample
{
public class PlayerController : MonoBehaviour
public class APlayerController : MonoBehaviour
{
public ArcanePad Pad { get; private set; }
public void Initialize(ArcanePad pad)
Expand Down Expand Up @@ -33,7 +33,7 @@ public void Initialize(ArcanePad pad)
Pad.StartGetQuaternion();
Pad.OnGetQuaternion((GetQuaternionEvent e) =>
{
if (ViewManager.isGamePaused) return;
if (AViewManager.isGamePaused) return;
transform.rotation = new Quaternion(e.x, e.y, e.z, e.w);
});

Expand Down

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 @@ -9,10 +9,10 @@

namespace ArcanepadExample
{
public class ViewManager : MonoBehaviour
public class AViewManager : MonoBehaviour
{
public GameObject playerPrefab;
public List<PlayerController> players = new List<PlayerController>();
public List<APlayerController> players = new List<APlayerController>();
public bool gameStarted { get; private set; }
public static bool isGamePaused = false;
public TextMeshProUGUI deviceTypeText;
Expand Down Expand Up @@ -66,13 +66,13 @@ async void Awake()
void createPlayer(ArcanePad pad)
{
GameObject newPlayer = Instantiate(playerPrefab, Vector3.zero, Quaternion.identity);
PlayerController playerComponent = newPlayer.GetComponent<PlayerController>();
APlayerController playerComponent = newPlayer.GetComponent<APlayerController>();
playerComponent.Initialize(pad);

players.Add(playerComponent);
}

void destroyPlayer(PlayerController playerComponent)
void destroyPlayer(APlayerController playerComponent)
{
playerComponent.Pad.Dispose();
players.Remove(playerComponent);
Expand Down
11 changes: 11 additions & 0 deletions Assets/ArcaneLibrary/Example/Scripts/AViewManager.cs.meta

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

11 changes: 0 additions & 11 deletions Assets/ArcaneLibrary/Example/Scripts/ViewManager.cs.meta

This file was deleted.

0 comments on commit 556b77d

Please sign in to comment.