0

virtual void Init() seems to missing in SceneObjectScript or ScriptBase

 Hi, i am trying Sansar for the first time today and i just started Visual studio 2017 and tried one samplescript: VisitorTrackerExample.

When i created a project with Sansar.Script and Sansar.similation reference, what came with the installation, the compiler was complaining about Init(). In the script, this method is public override void. When i looked in the references with the object browser i could not find virtual void Init() in one of the super classes.

I am wondering what was going wrong in my project because this init is described in the documentation and looks valid.

I found the dll at:

\Sansar\Client\ScriptApi\Assemblies

It was odd to have this experience, because my experience of today is that it al look surprisingly stabel so i am curious if i have the correct dll's.

 

6 comments

Please sign in to leave a comment.