Archive 17/01/2023.

How do the scripts work in the editor?

Lichi

Hello, I am trying to add scripts to my project but I fail to work.
What I do is:

  1. create a node.
  2. add a box to the node.
  3. add a scriptinstance to the node (Rotator.as)

but the node dont rotate when i played the scene.
someone help me?
Thansk

hdunderscore

In addition you will need to specify the class name for the ScriptInstance within Rotator.as . It’s currently not like in Unity where the class name is assumed to be the file name.

Lichi

Thanksss :smiley:

GoogleBot42

If it worked for you could you mark the thread as solved so that others can find it easier? :wink: