TryGetRandomActor

Method

Return a random actor currently in the space. This will fail if you're not connected to a server instance.

Definition

bool TryGetRandomActor(bool includeLocalActor, out IActor actor)
bool TryGetRandomActor(bool includeLocalActor, out IActor actor)

Returns bool

Parameters

ParameterDescription
bool includeLocalActor
IActor actor