S&box Wiki

Sandbox.Entity.FindByName

Sandbox.Entity.FindByName

Syntax

static Sandbox.Entity FindByName( string name, Sandbox.Entity fallback )

Description

Finds entities by EntityName and returns the first found result, if one was found. This does not handle cases where there are multiple entities with a given name.

Arguments

string name
Sandbox.Entity fallback

Returns

Special Pages


Wikis

?

Render Time: 53ms

DB GetPage 43
Generate Html 0
SaveChanges (1) 5
Render Body 0
Render Sidebar 1