This commit is contained in:
RochesterX
2025-04-16 19:57:54 -04:00
parent 5dee952cad
commit 6b7dbea593
2474 changed files with 244001 additions and 14116 deletions

View File

@@ -1,11 +1,12 @@
using System.Linq;
using UnityEngine;
using UnityEngine; using Game; using Music; using Player;
using UnityEngine.InputSystem;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using UnityEngine.Events;
using System.Collections;
namespace Game{
public class HubManager : MonoBehaviour
{
public static HubManager Instance;
@@ -88,3 +89,4 @@ public class HubManager : MonoBehaviour
}
}
}
}

View File

@@ -1,17 +0,0 @@
using System.Collections.Generic;
using UnityEngine;
[ExecuteAlways]
public class HubPolygonCreator : MonoBehaviour
{
public List<GameObject> vertices;
public float size = 8;
private void Update()
{
for (int i = 0; i < vertices.Count; i++)
{
vertices[i].transform.localPosition = new Vector3(size * Mathf.Cos(i * (2 * Mathf.PI / vertices.Count)), size * Mathf.Sin(i * (2 * Mathf.PI / vertices.Count)), 0);
}
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 2cfc5ef4f0095455cb4b4fbc6e8f80e8

8
Assets/Old/Hub/obj.meta Normal file
View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a80cce3d76b004238900dbfb51d0752a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1645eede1dbd649f8891818dfbc06143
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 17ba5707ef3444c64ac0f3c306ece9f6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 71327cecac03f49ed96f08ecc8fe13eb
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 3fb6ec035372f452a994802deba659a7
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: ab480984769bd483f99e888774243b1b
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: ae723e0c39766491c8d2c7a11d245c47
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a6b010204b4934ac1971478fbfc57acd
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 1b8cac043fcf64f0199a9f6648df8ea8
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,6 +1,7 @@
using System.Collections;
using UnityEngine;
using UnityEngine; using Game; using Music; using Player;
namespace Archaic{
public class PongBallBehavior : MonoBehaviour
{
public static Vector2 score; // Don't ask why I made the score a Vector, I just felt like it
@@ -53,3 +54,4 @@ public class PongBallBehavior : MonoBehaviour
}
}
}
}

View File

@@ -1,6 +1,6 @@
using UnityEngine;
using UnityEngine; using Game; using Music; using Player;
using UnityEngine.InputSystem;
namespace Archaic{
public class PongPaddleBehavior : MonoBehaviour
{
public float speed = 5f;
@@ -44,3 +44,4 @@ public class PongPaddleBehavior : MonoBehaviour
rb.linearVelocityY = direction * speed * Time.fixedDeltaTime;
}
}
}

View File

@@ -1,6 +1,7 @@
using TMPro;
using UnityEngine;
using UnityEngine; using Game; using Music; using Player;
namespace Archaic{
public class PongScorekeeper : MonoBehaviour
{
public TextMeshProUGUI player1Score;
@@ -12,3 +13,4 @@ public class PongScorekeeper : MonoBehaviour
player2Score.text = PongBallBehavior.score.y.ToString();
}
}
}