C# Class FXMakerHierarchy, TestGame

Inheritance: MonoBehaviour
Afficher le fichier Open project: liuxq/TestGame Class Usage Examples

Méthodes publiques

Свойство Type Description
inst FXMakerHierarchy,
m_DisableTexture UnityEngine.Texture2D
m_WarringTexture UnityEngine.Texture2D

Protected Properties

Свойство Type Description
m_AbsScrollPos Vector2
m_ActiveComponent Object
m_ArrowMovePrevCom Object
m_ArrowMovePrevObj GameObject
m_CurrentEffectObject GameObject
m_DragObject Object
m_DragObjectName string
m_DragObjectTrans Transform
m_HierarchyRect Rect
m_HierarchyScrollPos Vector2
m_HoverComponent Object
m_HoverComponentTrans Transform
m_MeshList bool>.Dictionary
m_SelectedGameObject GameObject
m_ShowComponentOptions bool[]
m_ShowComponentStrings string[]
m_ShowGameObjectStrings string[]
m_bMinimize bool
m_bShowNewMenuPopup bool
m_bShowOption bool
m_bUpdateActiveComponent bool
m_bUpdateHierarchyScrollPos bool
m_fScriptSpeed float
m_nDragObjectIndex int
m_nGridCellSize int
m_nLastDrawRow int
m_nMaxGridCellSize int
m_nMaxGridColumn int
m_nMaxGridRow int
m_nShowGameObjectOptionIndex int
m_nTreeLeftMagin int
m_styleBox GUIStyle
m_styleBoxActive GUIStyle
m_styleButton GUIStyle
m_styleButtonActive GUIStyle
m_styleButtonAddPrefab GUIStyle
m_styleToggle GUIStyle

Méthodes publiques

Méthode Description
AddGameObject ( GameObject parent, GameObject addObj ) : GameObject
ChangeBoundsBoxWireframe ( GameObject targetOriGameObj, GameObject oldOriSelectGameObj, bool bRoot, bool bRecursively ) : void
DeleteHierarchyObject ( Object delObj ) : void
DeleteHierarchyObject ( Transform baseTrans, Object delObj, int nSelectedIndex ) : void
GetSelectedGameObject ( ) : GameObject
GetShowGameObject ( ) : GameObject
GetWindowRect ( ) : Rect
OnActiveHierarchy ( ) : void
OnAddComponent ( Component tarCom ) : void
OnAddGameObject ( GameObject tarCom ) : void
OnCreateInstanceEffect ( GameObject instanceObj, bool bReset, GameObject parentInstanceObj ) : void
OnDeleteComponent ( Component tarCom ) : void
OnEnableComponent ( Component tarCom, bool bChangedEnable ) : void
OnGUIHierarchy ( ) : void
SetActiveComponent ( GameObject activeObj, Object activeCom, bool bAutoScroll ) : bool
SetActiveGameObject ( GameObject activeObj ) : bool
SetEnableGameObject ( GameObject gameObj, bool bEnable ) : void
ShowAddObjectRightPopup ( ) : void
ShowHierarchy ( GameObject effectObject ) : void
UpdateMeshList ( ) : void

Private Methods

Méthode Description
AddTranslate ( float x, float y, float z, bool bLocal ) : void
Awake ( ) : void
ChangeActiveColor ( Object obj, bool bMaterial, bool bdropTarget, bool bActive ) : void
ChangeColorscale ( GameObject targetOriGameObj, GameObject oldOriSelectGameObj, bool bRecursively ) : void
ChangeGameObjectSpeed ( GameObject target, float fSpeedRate ) : void
CheckAddObjectRightPopup ( ) : void
CheckHierarchyRightPopup ( OBJECT_TYPE objType, Transform currentTrans, Object selObj, int nSelIndex ) : void
CheckInputArrow ( GameObject parentObj, Object parentCom, GameObject currentObj, Object currentCom ) : void
CheckMissing ( OBJECT_TYPE objType, Transform currentTrans, Object selObj, int nColumn, int nRow, int nSelIndex ) : void
ClearDragObject ( ) : void
DrawAddOnButton ( OBJECT_TYPE objType, Rect objectRect, Transform currentTrans, Object selObj, int selIndex ) : void
DrawEnableButton ( OBJECT_TYPE objType, bool bScriptComponent, Rect objectRect, Transform currentTrans, Object selObj ) : void
DrawHierarchy ( int nColumn, int nRow, Transform drawTrans, GameObject parentObj, Object parentCom ) : int
DrawHierarchyBox ( OBJECT_TYPE objType, GameObject parentObj, Object parentCom, Transform currentTrans, int nColumn, int nRow, string caption, Object selObj, int selIndex, bool bScriptComponent ) : bool
DrawLinkHLine ( int sx, int sy, int len ) : void
DrawLinkVLine ( int sx, int sy, int len ) : void
DrawWarringIcon ( int nColumn, int nRow, string msg ) : void
DropObject ( Transform currentTrans, Object currentObj, int currentIndex ) : void
FXMakerHierarchy ( ) : UnityEngine
GetDragButtonRect ( ) : Rect
GetGridButtonRect ( int x, int y, int rowCount ) : Rect
GetMeshFromMeshList ( Component com ) : bool
IsMeshFromMeshList ( Component com ) : bool
LoadPrefs ( ) : void
NewChildGameObject ( FXMakerEffect, newType ) : void
OnChangeSelectGameObject ( GameObject newOriSelectGameObj, GameObject oldOriSelectGameObj ) : void
OnEnable ( ) : void
ResetScrollView ( ) : void
SetBoundsBoxWireframe ( GameObject targetOriGameObj, bool bSelected, bool bRoot, bool bShowBounds, bool bShowWire ) : void
SetColorscale ( GameObject tarOriObj, bool bGrayscale ) : void
SetDragObject ( Object dragObj, int dragObjIndex, Transform currentTrans, string name ) : void
SetHoverComponent ( Transform currentTrans, Object hoverCom ) : void
ShowUVIndex ( Rect baseRect ) : void
Start ( ) : void
TrimObjectName ( GameObject currentObj, string caption ) : string
Update ( ) : void
winEffectHierarchy ( int id ) : void

Method Details

AddGameObject() public méthode

public AddGameObject ( GameObject parent, GameObject addObj ) : GameObject
parent GameObject
addObj GameObject
Résultat GameObject

ChangeBoundsBoxWireframe() public méthode

public ChangeBoundsBoxWireframe ( GameObject targetOriGameObj, GameObject oldOriSelectGameObj, bool bRoot, bool bRecursively ) : void
targetOriGameObj GameObject
oldOriSelectGameObj GameObject
bRoot bool
bRecursively bool
Résultat void

DeleteHierarchyObject() public méthode

public DeleteHierarchyObject ( Object delObj ) : void
delObj Object
Résultat void

DeleteHierarchyObject() public méthode

public DeleteHierarchyObject ( Transform baseTrans, Object delObj, int nSelectedIndex ) : void
baseTrans Transform
delObj Object
nSelectedIndex int
Résultat void

GetSelectedGameObject() public méthode

public GetSelectedGameObject ( ) : GameObject
Résultat GameObject

GetShowGameObject() public méthode

public GetShowGameObject ( ) : GameObject
Résultat GameObject

GetWindowRect() public static méthode

public static GetWindowRect ( ) : Rect
Résultat Rect

OnActiveHierarchy() public méthode

public OnActiveHierarchy ( ) : void
Résultat void

OnAddComponent() public méthode

public OnAddComponent ( Component tarCom ) : void
tarCom Component
Résultat void

OnAddGameObject() public méthode

public OnAddGameObject ( GameObject tarCom ) : void
tarCom GameObject
Résultat void

OnCreateInstanceEffect() public méthode

public OnCreateInstanceEffect ( GameObject instanceObj, bool bReset, GameObject parentInstanceObj ) : void
instanceObj GameObject
bReset bool
parentInstanceObj GameObject
Résultat void

OnDeleteComponent() public méthode

public OnDeleteComponent ( Component tarCom ) : void
tarCom Component
Résultat void

OnEnableComponent() public méthode

public OnEnableComponent ( Component tarCom, bool bChangedEnable ) : void
tarCom Component
bChangedEnable bool
Résultat void

OnGUIHierarchy() public méthode

public OnGUIHierarchy ( ) : void
Résultat void

SetActiveComponent() public méthode

public SetActiveComponent ( GameObject activeObj, Object activeCom, bool bAutoScroll ) : bool
activeObj GameObject
activeCom Object
bAutoScroll bool
Résultat bool

SetActiveGameObject() public méthode

public SetActiveGameObject ( GameObject activeObj ) : bool
activeObj GameObject
Résultat bool

SetEnableGameObject() public méthode

public SetEnableGameObject ( GameObject gameObj, bool bEnable ) : void
gameObj GameObject
bEnable bool
Résultat void

ShowAddObjectRightPopup() public méthode

public ShowAddObjectRightPopup ( ) : void
Résultat void

ShowHierarchy() public méthode

public ShowHierarchy ( GameObject effectObject ) : void
effectObject GameObject
Résultat void

UpdateMeshList() public méthode

public UpdateMeshList ( ) : void
Résultat void

Property Details

inst public_oe static_oe property

public static FXMakerHierarchy, inst
Résultat FXMakerHierarchy,

m_AbsScrollPos protected_oe property

protected Vector2 m_AbsScrollPos
Résultat Vector2

m_ActiveComponent protected_oe property

protected Object m_ActiveComponent
Résultat Object

m_ArrowMovePrevCom protected_oe property

protected Object m_ArrowMovePrevCom
Résultat Object

m_ArrowMovePrevObj protected_oe property

protected GameObject m_ArrowMovePrevObj
Résultat GameObject

m_CurrentEffectObject protected_oe property

protected GameObject m_CurrentEffectObject
Résultat GameObject

m_DisableTexture public_oe property

public Texture2D,UnityEngine m_DisableTexture
Résultat UnityEngine.Texture2D

m_DragObject protected_oe property

protected Object m_DragObject
Résultat Object

m_DragObjectName protected_oe property

protected string m_DragObjectName
Résultat string

m_DragObjectTrans protected_oe property

protected Transform m_DragObjectTrans
Résultat Transform

m_HierarchyRect protected_oe property

protected Rect m_HierarchyRect
Résultat Rect

m_HierarchyScrollPos protected_oe property

protected Vector2 m_HierarchyScrollPos
Résultat Vector2

m_HoverComponent protected_oe property

protected Object m_HoverComponent
Résultat Object

m_HoverComponentTrans protected_oe property

protected Transform m_HoverComponentTrans
Résultat Transform

m_MeshList protected_oe property

protected Dictionary m_MeshList
Résultat bool>.Dictionary

m_SelectedGameObject protected_oe property

protected GameObject m_SelectedGameObject
Résultat GameObject

m_ShowComponentOptions protected_oe property

protected bool[] m_ShowComponentOptions
Résultat bool[]

m_ShowComponentStrings protected_oe property

protected string[] m_ShowComponentStrings
Résultat string[]

m_ShowGameObjectStrings protected_oe property

protected string[] m_ShowGameObjectStrings
Résultat string[]

m_WarringTexture public_oe property

public Texture2D,UnityEngine m_WarringTexture
Résultat UnityEngine.Texture2D

m_bMinimize protected_oe property

protected bool m_bMinimize
Résultat bool

m_bShowNewMenuPopup protected_oe property

protected bool m_bShowNewMenuPopup
Résultat bool

m_bShowOption protected_oe property

protected bool m_bShowOption
Résultat bool

m_bUpdateActiveComponent protected_oe property

protected bool m_bUpdateActiveComponent
Résultat bool

m_bUpdateHierarchyScrollPos protected_oe property

protected bool m_bUpdateHierarchyScrollPos
Résultat bool

m_fScriptSpeed protected_oe property

protected float m_fScriptSpeed
Résultat float

m_nDragObjectIndex protected_oe property

protected int m_nDragObjectIndex
Résultat int

m_nGridCellSize protected_oe property

protected int m_nGridCellSize
Résultat int

m_nLastDrawRow protected_oe property

protected int m_nLastDrawRow
Résultat int

m_nMaxGridCellSize protected_oe property

protected int m_nMaxGridCellSize
Résultat int

m_nMaxGridColumn protected_oe property

protected int m_nMaxGridColumn
Résultat int

m_nMaxGridRow protected_oe property

protected int m_nMaxGridRow
Résultat int

m_nShowGameObjectOptionIndex protected_oe property

protected int m_nShowGameObjectOptionIndex
Résultat int

m_nTreeLeftMagin protected_oe property

protected int m_nTreeLeftMagin
Résultat int

m_styleBox protected_oe property

protected GUIStyle m_styleBox
Résultat GUIStyle

m_styleBoxActive protected_oe property

protected GUIStyle m_styleBoxActive
Résultat GUIStyle

m_styleButton protected_oe property

protected GUIStyle m_styleButton
Résultat GUIStyle

m_styleButtonActive protected_oe property

protected GUIStyle m_styleButtonActive
Résultat GUIStyle

m_styleButtonAddPrefab protected_oe property

protected GUIStyle m_styleButtonAddPrefab
Résultat GUIStyle

m_styleToggle protected_oe property

protected GUIStyle m_styleToggle
Résultat GUIStyle