@foreach


Description:

[ Version ( since = "3.58" ) ]
public void @foreach (ComponentBagForeachFunc func)

Calls the func for each item in the this, or until the func returns false, to stop the traversal earlier.

Parameters:

this

an ComponentBag

func

an ComponentBagForeachFunc to call

user_data

user data passed to the func