ScoreFlashManager Get Method ScoreFlash API Documentation V4.6.0
Gets a ScoreFlash instance by its name.

Namespace: (Default Namespace)
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax

public static IScoreFlash Get(
	string name
)

Parameters

name
Type: OnlineSystem String
The name of a ScoreFlash instance; it's best to use the "Copy Name" button from the ScoreFlashManager custom inspector to get this name. This prevents lookups failing because of mistyped names.

Return Value

the ScoreFlash instance called name
Remarks

As this caches all ScoreFlash instances in a dictionary, it is very fast (much faster than using OnlineGameObject.Find(...) which is used only when the ScoreFlash instance by name is not stored in the cache, yet). For an example how to use this, see PushLocal(Object, GUIStyle, GUIStyle, Int32).
See Also