Good day Unity
I have here 2 images the first npc and the 2nd npc im new to unity and i need a help because im working on our college project. i want to change the variable value of the strings line1 line2 line3 line4 on the 2nd npc after speaking to the npc1 i hope you help me please sir… thanks a lot
-
Wrong category to post in!
-
Change the lines from the code itself.
Like for example:
var Line1 : String = "This is first text to show!";
function Update(){
if(Input.GetKeyDown(KeyCode.E)){
Line1 = "This is changed text but still first one!";
}
}

