AbstractDetach this behavior from the GameObject it is attached to.
The GameObject to detach this behavior from.
ProtectedobserveProtectedObserve a LogicBehavior and call the observer function when the data changes.
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 is a component that can be attached to a GameObject.