This generates single label that looks at the player. Image is on the left of the text.
private void OnDrawGizmos(){
GUIContent gUIContent = new GUIContent( "text",
EditorGUIUtility.FindTexture( "Animation.Record" ) );
Handles.Label( this.transform.position, gUIContent );
}
↧