UnityEngine.Resources.FindObjectsOfTypeAll C# (CSharp) Method

FindObjectsOfTypeAll() public static method

public static FindObjectsOfTypeAll ( Type type ) : Object[]
type System.Type
return Object[]
		public static Object[] FindObjectsOfTypeAll(Type type){}
		public static System.Object Load(string path){}

Usage Example

 void CloseAllWindows()
 {
     foreach (var window in Resources.FindObjectsOfTypeAll <ContentWindow>())
     {
         if (window && null != window)
         {
             window.Close();
         }
     }
 }
All Usage Examples Of UnityEngine.Resources::FindObjectsOfTypeAll