Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
using UnityEngine;
using System.Collections;
public class ButtonEvent : MonoBehaviour {
public void ClickButtonEvent(){
transform.position = new Vector3 (0, 5, 0);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment