Project Restructure (PLEASE UPDATE AFTER COMMIT)

This commit is contained in:
RochesterX
2025-01-15 15:05:04 -05:00
parent 63775c5103
commit dc61c3c1d0
168 changed files with 82 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
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);
}
}
}