Ejemplo n.º 1
0
        public override bool Equals(object other)
        {
            if (!(other is CursorStyle))
            {
                return(false);
            }

            CursorStyle rhs = (CursorStyle)other;

            return(texture.Equals(rhs.texture) && hotspot.Equals(rhs.hotspot) && defaultCursorId == rhs.defaultCursorId);
        }
Ejemplo n.º 2
0
        public override bool Equals(object other)
        {
            bool result;

            if (!(other is CursorStyle))
            {
                result = false;
            }
            else
            {
                CursorStyle cursorStyle = (CursorStyle)other;
                result = (this.texture.Equals(cursorStyle.texture) && this.hotspot.Equals(cursorStyle.hotspot) && this.defaultCursorId == cursorStyle.defaultCursorId);
            }
            return(result);
        }
Ejemplo n.º 3
0
 public void SetCursor(CursorStyle cursor)
 {
 }
Ejemplo n.º 4
0
 public void SetCursor(CursorStyle cursor)
 {
     Debug.LogError("UIElements cursors are not yet supported outside of the editor.");
 }