Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Wrong help text Cursor.SetCursor

Discussion in 'Documentation' started by freso, Sep 5, 2020.

  1. freso

    freso

    Joined:
    Mar 19, 2013
    Posts:
    73
    Code (CSharp):
    1. Invalid texture used for cursor - check importer settings or texture creation. Texture must be RGBA32, readable, have alphaIsTransparency enabled and have no mip chain.
    2. UnityEngine.Cursor:SetCursor(Texture2D, Vector2, CursorMode)
    "readable" should be "read/write enabled" or "writable".