Class SBgButtonOptions
Inheritance
SBgButtonOptions
Namespace: SUI
Assembly: SonsSdk.dll
public class SBgButtonOptions : SUiElement<SBgButtonOptions>
Constructors
Declaration
public SBgButtonOptions(GameObject root)
Parameters
Type |
Name |
Description |
GameObject |
root |
|
Fields
Declaration
public Button ButtonObject
Field Value
Declaration
Field Value
Methods
Declaration
public SBgButtonOptions AutoSize()
Returns
Declaration
public SBgButtonOptions Background(EBackground type)
Parameters
Returns
Declaration
public SBgButtonOptions Background(SUI.BackgroundDefinition backgroundDefinition)
Parameters
Returns
Declaration
public SBgButtonOptions Background(bool show)
Parameters
Type |
Name |
Description |
bool |
show |
|
Returns
Declaration
public SBgButtonOptions Background(string color)
Parameters
Type |
Name |
Description |
string |
color |
|
Returns
Declaration
public SBgButtonOptions Background(Sprite sprite, Image.Type type = 0)
Parameters
Type |
Name |
Description |
Sprite |
sprite |
|
Type |
type |
|
Returns
Declaration
public SBgButtonOptions Color(string colorString)
Parameters
Type |
Name |
Description |
string |
colorString |
|
Returns
Declaration
public SBgButtonOptions Color(Color color)
Parameters
Type |
Name |
Description |
Color |
color |
|
Returns
Declaration
public SBgButtonOptions Notify(Action action)
Parameters
Type |
Name |
Description |
Action |
action |
|
Returns