- Home /
Question by
maskikarsrikar · May 17, 2021 at 10:00 AM ·
crosshair
How do i change the size of the custom cross-hair (changed with code)
i used the below to change my code cursor is Texture2D
. when i just drag it out in the hierarchy or scene it is big (normal size) but when i use this code below it is very small
Vector2 hotSpot = new Vector2( currsor.width / 2f , currsor.height / 2f );
Cursor.SetCursor( currsor , hotSpot , CursorMode.Auto );
Comment