C# Class FXMakerEffect, TestGame

Inheritance: MonoBehaviour
Mostra file Open project: liuxq/TestGame Class Usage Examples

Public Properties

Property Type Description
inst FXMakerEffect,
m_CurrentEffectRoot GameObject
m_DefaultEmptyPrefab GameObject
m_DefaultLegacyPrefab GameObject
m_DefaultPlanePrefab GameObject
m_DefaultShurikenPrefab GameObject

Protected Properties

Property Type Description
m_DefaultProjectName string
m_EditingName string
m_EffectContents GUIContent[]
m_EffectListScrollPos Vector2
m_EffectPrefabs GameObject[]
m_GroupFolderContents GUIContent[]
m_LoadDirectory string
m_ProjectFolerContents GUIContent[]
m_bChangePrefab bool
m_bMinimize bool
m_bMinimizeAll bool
m_bProcessDelSprite bool
m_bProcessDelete bool
m_bShowNewMenuPopup bool
m_bShowRightMenuPopup bool
m_nCameraAngleXIndex int
m_nCameraAngleYIndex int
m_nEffectCount int
m_nEffectIndex int
m_nGroupCount int
m_nGroupIndexs int[]
m_nIndexRightMenuPopup int
m_nMaxObjectColumn float
m_nProjectCount int
m_nProjectIndex int
m_nScrollColumn int

Public Methods

Method Description
GetProjectContents ( ) : GUIContent[]
GetRect_Group ( ) : Rect
GetWindowRect ( ) : Rect
IsReadOnlyFolder ( ) : int
LoadProject ( ) : void
LoadProject ( string defaultEffectPath ) : void
RenameCurrentPrefab ( string newName ) : void
SaveProject ( ) : bool
SaveProject ( bool bClickSaveButton ) : bool
SetChangePrefab ( ) : void

Private Methods

Method Description
Awake ( ) : void
BuildContents ( ) : void
ChangeActiveState ( GameObject oriEffectObject ) : void
CheckNewMenu ( ) : void
CheckRightMenu ( ) : void
ClonePrefab ( ) : void
CopyPrefab ( ) : void
CutPrefab ( ) : void
ExportPrefab ( bool bAllExport ) : void
FXMakerEffect ( ) : UnityEngine
GetCurrentDirPath ( ) : string
GetGroupIndex ( ) : int
GetGroupIndex ( int nProjectIndex ) : int
IsReadOnlyFolder ( string name ) : bool
LoadEffectFolder ( string selectPrefabPath ) : int
LoadGroup ( int nProjectIndex, int nGroupIndex, string groupName ) : bool
NewPrefab ( NEW_TYPE newType ) : void
OnEnable ( ) : void
OnGUI ( ) : void
PastePrefab ( ) : void
PingPrefab ( ) : void
SelectToolbar ( int nProjectIndex, int nGroupIndex, int nEffectIndex ) : void
SelectToolbar ( int nProjectIndex, int nGroupIndex, string EffectPrefabPath ) : void
SelectToolbar ( int nProjectIndex, string groupName, string EffectPrefabPath ) : void
SetActiveEffect ( int nEffectIndex ) : void
SetCurrentEffectPrefab ( GameObject setPrefab ) : void
SetGroupIndex ( int nIndex ) : void
ShowNewMenu ( ) : void
ShowRightMenu ( int nObjectIndex, bool bSelected ) : void
SpritePrefab ( ) : void
Start ( ) : void
ThumbPrefab ( ) : void
Update ( ) : void
winEffectList ( int id ) : void
winMenuToolbar ( int id ) : void
winTopRight ( int id ) : void

Method Details

GetProjectContents() public method

public GetProjectContents ( ) : GUIContent[]
return GUIContent[]

GetRect_Group() public static method

public static GetRect_Group ( ) : Rect
return Rect

GetWindowRect() public static method

public static GetWindowRect ( ) : Rect
return Rect

IsReadOnlyFolder() public method

public IsReadOnlyFolder ( ) : int
return int

LoadProject() public method

public LoadProject ( ) : void
return void

LoadProject() public method

public LoadProject ( string defaultEffectPath ) : void
defaultEffectPath string
return void

RenameCurrentPrefab() public method

public RenameCurrentPrefab ( string newName ) : void
newName string
return void

SaveProject() public method

public SaveProject ( ) : bool
return bool

SaveProject() public method

public SaveProject ( bool bClickSaveButton ) : bool
bClickSaveButton bool
return bool

SetChangePrefab() public method

public SetChangePrefab ( ) : void
return void

Property Details

inst public_oe static_oe property

public static FXMakerEffect, inst
return FXMakerEffect,

m_CurrentEffectRoot public_oe property

public GameObject m_CurrentEffectRoot
return GameObject

m_DefaultEmptyPrefab public_oe property

public GameObject m_DefaultEmptyPrefab
return GameObject

m_DefaultLegacyPrefab public_oe property

public GameObject m_DefaultLegacyPrefab
return GameObject

m_DefaultPlanePrefab public_oe property

public GameObject m_DefaultPlanePrefab
return GameObject

m_DefaultProjectName protected_oe property

protected string m_DefaultProjectName
return string

m_DefaultShurikenPrefab public_oe property

public GameObject m_DefaultShurikenPrefab
return GameObject

m_EditingName protected_oe property

protected string m_EditingName
return string

m_EffectContents protected_oe property

protected GUIContent[] m_EffectContents
return GUIContent[]

m_EffectListScrollPos protected_oe property

protected Vector2 m_EffectListScrollPos
return Vector2

m_EffectPrefabs protected_oe property

protected GameObject[] m_EffectPrefabs
return GameObject[]

m_GroupFolderContents protected_oe property

protected GUIContent[] m_GroupFolderContents
return GUIContent[]

m_LoadDirectory protected_oe property

protected string m_LoadDirectory
return string

m_ProjectFolerContents protected_oe property

protected GUIContent[] m_ProjectFolerContents
return GUIContent[]

m_bChangePrefab protected_oe property

protected bool m_bChangePrefab
return bool

m_bMinimize protected_oe property

protected bool m_bMinimize
return bool

m_bMinimizeAll protected_oe property

protected bool m_bMinimizeAll
return bool

m_bProcessDelSprite protected_oe property

protected bool m_bProcessDelSprite
return bool

m_bProcessDelete protected_oe property

protected bool m_bProcessDelete
return bool

m_bShowNewMenuPopup protected_oe property

protected bool m_bShowNewMenuPopup
return bool

m_bShowRightMenuPopup protected_oe property

protected bool m_bShowRightMenuPopup
return bool

m_nCameraAngleXIndex protected_oe property

protected int m_nCameraAngleXIndex
return int

m_nCameraAngleYIndex protected_oe property

protected int m_nCameraAngleYIndex
return int

m_nEffectCount protected_oe property

protected int m_nEffectCount
return int

m_nEffectIndex protected_oe property

protected int m_nEffectIndex
return int

m_nGroupCount protected_oe property

protected int m_nGroupCount
return int

m_nGroupIndexs protected_oe property

protected int[] m_nGroupIndexs
return int[]

m_nIndexRightMenuPopup protected_oe property

protected int m_nIndexRightMenuPopup
return int

m_nMaxObjectColumn protected_oe property

protected float m_nMaxObjectColumn
return float

m_nProjectCount protected_oe property

protected int m_nProjectCount
return int

m_nProjectIndex protected_oe property

protected int m_nProjectIndex
return int

m_nScrollColumn protected_oe property

protected int m_nScrollColumn
return int