Analog of Update
If you need to have an Update()
(or LateUpdate()
/FixedUpdate()
), but it should work only when action is subscribed, you don't need to use if's with conditions.
You can just call Tick()
instead of Update()
, LateTick()
and FixedTick()
instead of LateUpdate()
and FixedUpdate()
instead.
Last updated