BackendManager.waitAndDestroy C# (CSharp) Method

waitAndDestroy() private method

private waitAndDestroy ( GameObject go ) : IEnumerator
go GameObject
return IEnumerator
    IEnumerator waitAndDestroy(GameObject go)
    {
        yield return new WaitForSeconds(duration);
        GameObject.Destroy(go);
    }
}