Added Scene 5-7-10-11-16-Workplace
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using TMPro;
|
||||
using Unity.VisualScripting;
|
||||
using UnityEngine;
|
||||
|
||||
public class JeremyState : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
private int _state = 0;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
}
|
||||
|
||||
public void SetState(int newState)
|
||||
{
|
||||
_state = newState;
|
||||
|
||||
// TODO: change
|
||||
GetComponentInChildren<TextMeshPro>().text = $"{_state}";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6697639f4ae33b4468ea0eb5d40dadc4
|
||||
Reference in New Issue
Block a user