Put a PNG in game content directory

Steps

1, Put a PNG in game content directory, e.g. E:\MyProj\Content\Asset\Cursor\mouse.png

2, Project Settings -> Engine -> User Interface -> Hardware Cursors -> add element and set Default, set Cursor Path as Asset/Cursor/mouse.

3, If the click response position of .PNG cursor isn’t the top-left corner, you can modify the Hot Spot, e.g. you can set Hot Spot as (0.5, 0.5) if the click response position is the center of .PNG.


穷人家的孩子,喜欢一个人都害怕自己配不上。