예제 #1
0
 void SetText()
 {
     EditorUtility.SetDirty(mystring);
     if (mystring != null)
     {
         myTrans.text = mystring.Content(myText.text);
     }
 }
예제 #2
0
 void SetText()
 {
     myText.text = mystring.Content();
 }
 void SetText()
 {
     // Sets the text of the assigned object to be that of the Scriptable Object's content field
     myText.text = myString.Content();
 }