// Use this for initialization void Start() { normalPosition = this.transform.localPosition; PUIEventListener.Get(this.gameObject).onHover += OnHover; PUIEventListener.Get(this.gameObject).onClick += OnClick; // PvrInputMoudle.FindInputModule().onRefreshCursor += RefreshCursor; }
// Use this for initialization void Start() { normalPosition = this.transform.localPosition; PUIEventListener.Get(this.gameObject).onHover += OnHover; PUIEventListener.Get(this.gameObject).onClick += OnClick; }