Search found 3 matches

by Alexhapki
Sat Feb 29, 2020 12:17 pm
Forum: Dialogue System for Unity
Topic: Assign imported texture2D at run time, to Actor Picture
Replies: 3
Views: 421

Re: Assign imported texture2D at run time, to Actor Picture

Hi Tony, Thanks for the quick reply. I am getting an error though; NullReferenceException: Object reference not set to an instance of an object 1) I have assigned the Actor transform on the conversation trigger on Awake. 2) Texture2D is assigned (I tested it being used on a GUI element). 3) I import...
by Alexhapki
Sat Feb 29, 2020 8:14 am
Forum: Dialogue System for Unity
Topic: Assign imported texture2D at run time, to Actor Picture
Replies: 3
Views: 421

Assign imported texture2D at run time, to Actor Picture

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 ...
by Alexhapki
Mon Mar 11, 2019 10:00 pm
Forum: Dialogue System for Unity
Topic: I want to change the font size of JRPG Dialogue UI with Continue Button
Replies: 17
Views: 3436

Re: I want to change the font size of JRPG Dialogue UI with Continue Button

Hi Tony, When I use enriched text such as <size=40> with Unity JRPG UI it is fine while text is being "written". However, once text has been finished, it returns to original state, size 10 or so. How may I avoid enriched text coming back to a smaller size? I turned off the option of displa...