Skip to content

Instantly share code, notes, and snippets.

@n-taku
Created July 5, 2015 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n-taku/3061b780fe0565ee876d to your computer and use it in GitHub Desktop.
Save n-taku/3061b780fe0565ee876d to your computer and use it in GitHub Desktop.
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