Skip to content

Description

Functions

GetObject

public ArenaObject GetObject(int i)

Returns an object in the list if it exists at that particular index. Otherwise returns null.

Show

public void Show(int i)

Calls Show on object at that particular index if it exists.

ShowAll

public void ShowAll(bool bo = true)

Iterates thorugh all objects and calls Show(bo) at each controller. See Show.

Hide

public void Show(int i)

Calls Hide on object at that particular index if it exists.

HideAll

public void HideAll()

Same as ShowAll(false). Runs Hide on all arena object controllers. See Hide.

SetColor

void SetColor(Color color)

Sets colour of each obejct material if possible. See SetColor.

SetType

void SetType(string s, bool force = false)¨

Iterates though objects and sets each object ot appropriate type as possible. See SetType.