-
Notifications
You must be signed in to change notification settings - Fork 0
Home
To use the utilities, the class of the module has to derive from KtaneModule
instead of MonoBehaviour
(KtaneModule
derives from MonoBehaviour
, so Unity features will still be usable).
Awake
, Start
and Update
have to be overridden in order to be used! (To use the utilities, the base methods have to be called if the mentioned functions are overriden!)
The variables/methods mentioned in the wiki pages don’t have to be declared. They are already declared in the KtaneModule
class. Please note that each of them can only be used in/after the method mentioned at its corresponding wiki section. If none or -
is mentioned, it can be used anywhere. Before the mentioned method, the variables will still exist but have their default value.
Example:
public class ModuleScript : KtaneModule
{
protected override void Start()
{
base.Start();
//Write your own code here
}
}
To read about features for different categories, select the category on the table of contents on the right side.