- Home /
Question by
bradarnot · Apr 27, 2013 at 02:41 AM ·
functioneditorscript
Accessing Editor Script Function with Runtime Script
Hello, I am having trouble. I have a editor script that randomly generates a scene for me. I want to have my controller randomly generate a scene on the start of the game. I cannot access editor script functions from a runtime script. How do I run a function from an editor script from a runtime script? I tried doing EditorScript.function, that does not work.
Comment
Answer by whydoidoit · Apr 27, 2013 at 02:42 AM
Editor scripts are for the editor only - they cannot be used in any Player on any platform.
You will have to use runtime functions to create your level.
Your answer
