Class Script

Inheritance Relationships

Base Type

Class Documentation

class Script : public Cacao::Component

A component that.

Public Functions

inline virtual void OnDynTick(float timestep)

Runs each dynamic tick that the script is enabled and in an active World.

Warning

This callback is called in a non-deterministic order; do not expect any form of consistent sequencing between scripts

Parameters:

timestep – The time in seconds since the last dynamic tick (not necessarily when the script was executed)

inline  ASTRASETUP (Script) virtual ~Script()

Protected Functions

inline Script()

Friends

friend struct astra::CommonActions< Script >