Mittwoch, 23. Oktober 2019

How to setup Package manager



https://my-public bool Import(PackageManager.UI.Sample.ImportOptions options);

itechnic.blogspot.com/



/* Button Content examples */
using UnityEngine;
using System.Collections;

public class GUITest : MonoBehaviour
{
public Texture2D icon;

void OnGUI ()
{
if (GUI.Button (new Rect (10,10, 100, 50), icon))
{
print ("you clicked the icon");
}

if (GUI.Button (new Rect (10,70, 100, 20), "This is text"))
{
print ("you clicked the text button");
}
}
}

Keine Kommentare:

Kommentar veröffentlichen