17 lines
550 B
C#
17 lines
550 B
C#
using UnityEngine;
|
|
|
|
public class SampleInfo : MonoBehaviour
|
|
{
|
|
private void OnGUI()
|
|
{
|
|
GUILayout.Label("iTween can spin, shake, punch, move, handle audio, fade color and transparency \nand much more with each task needing only one line of code.");
|
|
GUILayout.BeginHorizontal();
|
|
GUILayout.Label("iTween works with C#, JavaScript and Boo. For full documentation and examples visit:");
|
|
if (GUILayout.Button("http://itween.pixelplacement.com"))
|
|
{
|
|
Application.OpenURL("http://itween.pixelplacement.com");
|
|
}
|
|
GUILayout.EndHorizontal();
|
|
}
|
|
}
|