C# Class UnityEngine.UI.SGDefaultControls

Show file Open project: qiankanglai/LoopScrollRect

Public Methods

Method Description
CreateLoopHorizontalScrollRect ( DefaultControls resources ) : GameObject
CreateLoopVerticalScrollRect ( DefaultControls resources ) : GameObject

Private Methods

Method Description
CreateUIElementRoot ( string name, Vector2 size ) : GameObject
CreateUIObject ( string name, GameObject parent ) : GameObject
SetDefaultColorTransitionValues ( Selectable slider ) : void
SetDefaultTextValues ( Text lbl ) : void
SetLayerRecursively ( GameObject go, int layer ) : void
SetParentAndAlign ( GameObject child, GameObject parent ) : void

Method Details

CreateLoopHorizontalScrollRect() public static method

public static CreateLoopHorizontalScrollRect ( DefaultControls resources ) : GameObject
resources DefaultControls
return UnityEngine.GameObject

CreateLoopVerticalScrollRect() public static method

public static CreateLoopVerticalScrollRect ( DefaultControls resources ) : GameObject
resources DefaultControls
return UnityEngine.GameObject