EditorGUIUtility.LoadRequired Manual     Reference     Scripting  
Scripting > Editor Classes > EditorGUIUtility
EditorGUIUtility.LoadRequired

static function LoadRequired (path : String) : Object

Description

Load a built-in resource that has to be there.

This function will look in Assets/Editor Default Resources/whatever for the resource.

var handleMaterial : Material = EditorGUIUtility.Load("HandleMaterial");