Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

Changing Unity Source Code

$
0
0
I'm trying to gain access to the getSelectedString function within the InputField.cs file in the UI source code. I'm following the instructions on the bitbucket page on how to put the new .dll file in the Unity editor file structure. All I have done is changed the "protected string GetSelectedString()" to "public string GetSelectedString()" I did a build and cleared all errors. I put the resulted .dll files from the output folder to the unity editor folder per bitbucket's instructions. Now, when I try to call this function in code it will not recognize the function. For instance: public void HighlightedText() { Debug.Log(inputfield.GetSelectedString()); } it errors out not knowing what .GetSelectedString() is. Any suggestions?

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>