19 lines
263 B
C#
19 lines
263 B
C#
using UnityEngine;
|
|
|
|
namespace RootMotion
|
|
{
|
|
public class DemoGUIMessage : MonoBehaviour
|
|
{
|
|
public string text;
|
|
|
|
public Color color = Color.white;
|
|
|
|
private void OnGUI()
|
|
{
|
|
GUI.color = color;
|
|
GUILayout.Label(text);
|
|
GUI.color = Color.white;
|
|
}
|
|
}
|
|
}
|