Importing script

[SOLVED] I tried to import the cs Script but it show some error. The error Snapshot are attached bellow.
Error:


When i tried to open the code in the error then the code looks like something bellow.

Hello Younis.
This textcontroller-script is in PDF format.
You need a plain-text file to import it in unity.
Open a simple text-editor, and open the file you downloaded with a pdf-viewer.
Then copy and paste the text from pdf to your editor and call it “TextController.cs” and save it.

I assume you are working in Windows. It is really helpfull to enable “File-extensions” in your Explorer.

Hope that helps.

Chris

2 Likes

Privacy & Terms