C# Class NcSpriteFactoryEditor, TestGame

Inheritance: FXMakerEditor
Exibir arquivo Open project: liuxq/TestGame

Protected Properties

Property Type Description
m_FxmPopupManager FxmPopupManager,
m_Sel NcSpriteFactory,

Public Methods

Method Description
OnInspectorGUI ( ) : void

Protected Methods

Method Description
CreateSpriteAtlas ( Material tarMat ) : void
GetHelpContent ( string tooltip ) : GUIContent
HelpBox ( string caption ) : void
OnDisable ( ) : void
OnEnable ( ) : void

Private Methods

Method Description
BuildSpriteAtlas ( ) : Texture2D
GetSpriteNodeNames ( ) : string[]
ScaleTexture ( Texture2D source, int targetWidth, int targetHeight ) : Texture2D

Method Details

CreateSpriteAtlas() protected method

protected CreateSpriteAtlas ( Material tarMat ) : void
tarMat Material
return void

GetHelpContent() protected method

protected GetHelpContent ( string tooltip ) : GUIContent
tooltip string
return GUIContent

HelpBox() protected method

protected HelpBox ( string caption ) : void
caption string
return void

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

OnInspectorGUI() public method

public OnInspectorGUI ( ) : void
return void

Property Details

m_FxmPopupManager protected_oe property

protected FxmPopupManager, m_FxmPopupManager
return FxmPopupManager,

m_Sel protected_oe property

protected NcSpriteFactory, m_Sel
return NcSpriteFactory,