Method GetPrefabs
| Edit this page View SourceGetPrefabs(Type)
Get all instances of an Unity Object from the current scene by type.
Declaration
public static Dictionary<string, UnityEngine.Object> GetPrefabs(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | Type to search for. |
Returns
| Type | Description |
|---|---|
| Dictionary<string, UnityEngine.Object> |