Hi,
I noticed that the Invoke Method action is run each frame, but I want it to run just once.
For instance, at some point in the BT im invoking a function in a script that breaks the gameobject and then destroys it.
Since Invoke Method runs every frame - im getting an error every frame that the gameobject is now missing...
In general, it doesn't seem wise to have a method invoked every frame, no?
How can I force the Invoke Method to run only once?
Thx!
Mike.
I noticed that the Invoke Method action is run each frame, but I want it to run just once.
For instance, at some point in the BT im invoking a function in a script that breaks the gameobject and then destroys it.
Since Invoke Method runs every frame - im getting an error every frame that the gameobject is now missing...
In general, it doesn't seem wise to have a method invoked every frame, no?
How can I force the Invoke Method to run only once?
Thx!
Mike.