Resources.LoadAssetAtPathstatic function LoadAssetAtPath (assetPath : String, type : Type) : ObjectDescriptionReturns a resource at an asset path (Editor Only). This function always return null in the standalone player or web player. This is useful for quickly accessing an asset for use in the editor only.
Note:
JavaScript
var prefab : GameObject; using UnityEngine; import UnityEngine |
