Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class Bomb2D : MonoBehaviour
- {
- // Use this for initialization
- void Start ()
- {
- print ("Im here");
- }
- void OnHover (bool isOver)
- {
- if (isOver) {
- print ("Im here! NGUI");
- } else {
- print ("Im NOT here! NGUI");
- }
- }
- void OnPress (bool isDown)
- {
- if (isDown) {
- print ("Button down NGUI");
- } else {
- print ("Button NOT down NGUI");
- }
- }
- void OnClick ()
- {
- print ("CLICK");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement