MonoBehaviourExtensions.Invoke Method

MyDungeon

MonoBehaviourExtensionsInvoke Method

Invoke using a delegate

Namespace:  MyDungeon.Utilities
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static void Invoke(
	this MonoBehaviour me,
	Action delegateName,
	float time
)

Parameters

me
Type: MonoBehaviour

[Missing <param name="me"/> documentation for "M:MyDungeon.Utilities.MonoBehaviourExtensions.Invoke(UnityEngine.MonoBehaviour,System.Action,System.Single)"]

delegateName
Type: SystemAction
Name of a function to invoke
time
Type: SystemSingle
Time to wait before invoking the delegate

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MonoBehaviour. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also