Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

How to use synched Coroutine with waitForSeconds?

$
0
0
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

Viewing all articles
Browse latest Browse all 15755

Trending Articles