Assign imported texture2D at run time, to Actor Picture
Posted: Sat Feb 29, 2020 8:14 am
Hi Tony,
Sorry for bothering you again.
I wrote a script to read customs portraits Textures2D from player´s harddisk. I can import them to a C# variable, e.g.
Texture2D playerPortrait
But how I can assign that playerPortrait texture to Actor ["Player"], so I can switch to texture imported from hardisk?
Ps. Videogame in beta version in Steam now! Would you mind if i added your logo and Dialogue System to my website to let know people it was made with Unity and Dialogue Manager as the core? The Essence Reaper Ritual.
https://steamcommunity.com/app/674840
Thanks for everything
Alex.
Sorry for bothering you again.
I wrote a script to read customs portraits Textures2D from player´s harddisk. I can import them to a C# variable, e.g.
Texture2D playerPortrait
But how I can assign that playerPortrait texture to Actor ["Player"], so I can switch to texture imported from hardisk?
Ps. Videogame in beta version in Steam now! Would you mind if i added your logo and Dialogue System to my website to let know people it was made with Unity and Dialogue Manager as the core? The Essence Reaper Ritual.
https://steamcommunity.com/app/674840
Thanks for everything
Alex.