Click or drag to resize

LightningThreadStateAddActionForMainThread Method

Add a main thread action

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public bool AddActionForMainThread(
	Action action,
	bool waitForAction = false
)

Parameters

action
Type: SystemAction
Action
waitForAction (Optional)
Type: SystemBoolean
True to wait for completion, false if not

Return Value

Type: Boolean
True if action added, false if in process of terminating the thread
See Also