AbstractDetach this behavior from the GameObject it is attached to.
The GameObject to detach this behavior from.
ProtectedgetGet the first behavior of a specific type (only from logic type to keep clean separation of concerns) attached to this GameObject or null if none is found.
ProtectedonProtectedonLike onEnable, but should only be for internal use, so some non-abstact direct behaviors could expose attachedOn to the user.
The GameObject this behavior is attached to.
ProtectedtickProtectedCalled every frame. Override this method to add custom behavior.
The time in seconds since the last frame.
A behavior that subscribes to input events and converts them into a game logic. The game logic actions will be executed by a LogicBehavior.