MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Find

Method Find

Source/Engine/Scripting/Object.cs:131–134  ·  view source on GitHub ↗

Finds the object with the given ID. Searches registered scene objects and assets. Unique ID of the object. Type of the object. Whether or not to log warnings when objects aren't found. Found object or null if missing.

(ref Guid id, bool skipLog = false)

Source from the content-addressed store, hash-verified

129 /// <param name="skipLog">Whether or not to log warnings when objects aren't found.</param>
130 /// <returns>Found object or null if missing.</returns>
131 public static T Find<T>(ref Guid id, bool skipLog = false) where T : Object
132 {
133 return Internal_FindObject(ref id, typeof(T), skipLog) as T;
134 }
135
136 /// <summary>
137 /// Finds the object with the given ID. Searches registered scene objects and assets.

Callers 8

GetOrderInParentMethod · 0.45
SetOrderInParentMethod · 0.45
GetMethod · 0.45
InitHostfxrFunction · 0.45
LoadEngineMethod · 0.45
ReadJsonMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected