You're breathtaking!

This commit is contained in:
Wojtek Figat
2020-12-07 23:40:54 +01:00
commit 6fb9eee74c
5143 changed files with 1153594 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
%copyright%
#include "%filename%.h"
%class%::%class%(const SpawnParams& params)
: Script(params)
{
// Enable ticking OnUpdate function
_tickUpdate = true;
}
void %class%::OnEnable()
{
// Here you can add code that needs to be called when script is enabled (eg. register for events)
}
void %class%::OnDisable()
{
// Here you can add code that needs to be called when script is disabled (eg. unregister from events)
}
void %class%::OnUpdate()
{
// Here you can add code that needs to be called every frame
}