this tutorial is about How to change source image from script in unity and here a button for the trigger
in this video I'm using Resources.Load to load a sprite file from the resources folder
and then imageGO.sprite = Resources.Load<Sprite>("Image name from the resources folder");
you can call that line wherever you want and here i'll call it from button
Friday, December 9, 2016
Quick Code - Change Source Image From Script [Tutorial][C#]
About Whisper
Soratemplates is a blogger resources site is a provider of high quality blogger template with premium looking layout and robust design. The main mission of templatesyard is to provide the best quality blogger templates.
Newer Article
Kamus BISINDO
Older Article
Quick Code - Sprite 2d As Button With Raycast2d [Unity][C#]
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
"Good Reader" adalah reader yang memberi Komentar setelah membaca Postingan ini,
dan "Spam Reader" Lebih baik dari pada "Silince Reader"