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