C# 클래스 KSPAlternateResourcePanel.Resources

파일 보기 프로젝트 열기: TriggerAu/AlternateResourcePanel

공개 메소드들

메소드 설명
LoadImageFromFile ( Texture2D &tex, String FileName, String FolderPath = "" ) : System.Boolean

Loads a texture from the file system directly

비공개 메소드들

메소드 설명
GetIconDict ( String Name ) : Texture2D>.Dictionary
IconOrderContent ( String Name ) : GUIContent
LoadAudioClipFromGameDB ( AudioClip &clip, String FileName, String FolderPath = "" ) : System.Boolean
LoadIconDictionary ( String IconFolderName ) : Texture2D>.Dictionary
LoadIconDictionary_Defs ( ) : Texture2D>.Dictionary

This one gets all the icons named in the resource definitions

LoadSounds ( ) : void
LoadTextures ( ) : void
SetIconOrder ( KSPAlternateResourcePanel.Settings settings ) : void

메소드 상세

LoadImageFromFile() 공개 정적인 메소드

Loads a texture from the file system directly
public static LoadImageFromFile ( Texture2D &tex, String FileName, String FolderPath = "" ) : System.Boolean
tex UnityEngine.Texture2D Unity Texture to Load
FileName String Image file name
FolderPath String Optional folder path of image
리턴 System.Boolean