Added assets from old repo

This commit is contained in:
weedmjac000
2026-01-21 10:30:32 -07:00
parent 44117ec414
commit fc5efd89bf
713 changed files with 148036 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
using UnityEngine;
public class CharacterSelectionButtonScript : MonoBehaviour
{
public GameObject characterSelectionManager;
public string button;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
Debug.Log(characterSelectionManager);
Debug.Log(characterSelectionManager.GetComponent<CharacterSelectionScript>());
}
void OnMouseDown()
{
if (button == "right")
{
Debug.Log(button);
characterSelectionManager.GetComponent<CharacterSelectionScript>().CycleRight();
}
if (button == "left")
{
Debug.Log(button);
characterSelectionManager.GetComponent<CharacterSelectionScript>().CycleLeft();
}
}
}