Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi there, I'm pretty sure I saw it somewhere but I can't find it now... how can I attach a script to the scene so it runs when the application starts? Thanks in advance! |
||||
|
I think you're talking about... Select Scene, Behavior, Before first drawing do something |
||||
|
Nevermind, I found it. I just have to call the script with the same name as the project. But I have another question: I've seen in the example behaviours that there's a function which runs every frame, called Animate.... but I could not find the "onInit" function. Is there any example of a script with such function?... in other words, where should I put the code that I want to run at the start? Thanks! |
|