Show / Hide Table of Contents

Method GetPrefabs

| Edit this page View Source

GetPrefabs(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>
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾