C# Class UnityCommonEditorLibrary.Inspectors.SelectorInspector

显示文件 Open project: thebeardphantom/UnityCommonLibrary

Public Methods

Method Description
CreateNewUI ( ) : GameObject
GetOrCreateCanvasGameObject ( ) : GameObject

Private Methods

Method Description
CreateEventSystem ( bool select, GameObject parent ) : void
CreateSelector ( MenuCommand command ) : void
CreateUIElementRoot ( string name, Vector2 size ) : GameObject
CreateUIObject ( string name, GameObject parent ) : GameObject
PlaceUIElementRoot ( GameObject element, MenuCommand menuCommand ) : void
SetLayerRecursively ( GameObject go, int layer ) : void
SetParentAndAlign ( GameObject child, GameObject parent ) : void
SetPositionVisibleinSceneView ( RectTransform canvasRTransform, RectTransform itemTransform ) : void

Method Details

CreateNewUI() public static method

public static CreateNewUI ( ) : GameObject
return GameObject

GetOrCreateCanvasGameObject() public static method

public static GetOrCreateCanvasGameObject ( ) : GameObject
return GameObject