上传YomovSDK
This commit is contained in:
18
Assets/Plugins/RootMotion/Shared Scripts/DemoGUIMessage.cs
Normal file
18
Assets/Plugins/RootMotion/Shared Scripts/DemoGUIMessage.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
namespace RootMotion {
|
||||
|
||||
// Just for displaying a GUI text in the Game View.
|
||||
public class DemoGUIMessage : MonoBehaviour {
|
||||
|
||||
public string text;
|
||||
public Color color = Color.white;
|
||||
|
||||
void OnGUI() {
|
||||
GUI.color = color;
|
||||
GUILayout.Label(text);
|
||||
GUI.color = Color.white;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user