How to use synched Coroutine with waitForSeconds?

Hi,

I am implementing a bullet, and I need to destroy it after a certain time if it hasn't yet hit anything, so I found TrueSyncManager.SyncedStartCoroutine that's fine, however I am hesitant to use this because I can't find any dedicated "WaitForSeconds" class that accept a FP instead of a float.

What is the best way to use SyncedStartCoroutine ? I could not find any examples on this.

Bye,

Jean

Comments

Sign In or Register to comment.