So far no problem if i set teh texture manually in the inspector but now i want to change it in that way that the Texture (a png picture with alpha transparancy effect, imported as cursor texture) is loaded automatically in the script, too.ĬursorTexture = (Texture2D)Resources.Load("Assets/cursors/cursorTake.png") Īnd also tried it without complete path and without the file extension. I have the Problem that i want to write a c# scipt to change my mouse cursor if it is over some object. Tropical Tech 30.2K subscribers Subscribe 27K views 2 years ago This video will show you how to change or get a custom mouse pointer in Windows 10 using any custom image.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |