Example #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);
        }
Example #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);
        }
Example #3
0
 public void SetCursor(CursorStyle cursor)
 {
 }
Example #4
0
 public void SetCursor(CursorStyle cursor)
 {
     Debug.LogError("UIElements cursors are not yet supported outside of the editor.");
 }