Skip to content

Instantly share code, notes, and snippets.

@phoenixperry
Created November 24, 2016 01:49
Show Gist options
  • Save phoenixperry/02de2d28ee6004bb5fbb30e27624dcc6 to your computer and use it in GitHub Desktop.
Save phoenixperry/02de2d28ee6004bb5fbb30e27624dcc6 to your computer and use it in GitHub Desktop.
using UnityEngine;
using System.Collections;
public class Tester : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnMouseDown(){
gameObject.SetActive(false);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment