Resources.LoadAllstatic function LoadAll (path : String, type : Type) : Object[]DescriptionLoads all assets in a folder or file at path in a Resources folder. If path refers to a folder, all assets in the folder will be returned. If path refers to a file, only that asset will be returned. Only objects of type will be returned. The path is relative to any Resources folder inside the Assets folder of your project.
JavaScript
// Loads all assets in the "Resources/Textures" folder using UnityEngine; import UnityEngine static function LoadAll (path : String) : Object[]DescriptionLoads all assets in a folder or file at path in a Resources folder. If path refers to a folder, all assets in the folder will be returned. If path refers to a file, only that asset will be returned. The path is relative to any Resources folder inside the Assets folder of your project.
JavaScript
// Loads all assets in the "Resources/Textures" folder using UnityEngine; import UnityEngine |
