Table of Contents

Class OpSimpleButton

Namespace
Menu.Remix.MixedUI
Assembly
Assembly-CSharp.dll
public class OpSimpleButton : UIfocusable
Inheritance
OpSimpleButton
Derived
Inherited Members

Constructors

public OpSimpleButton(Vector2 pos, Vector2 size, string displayText = "")

Parameters

pos Vector2
size Vector2
displayText string

Fields

public FLabelAlignment _alignment

Field Value

FLabelAlignment
public int _heldCounter

Field Value

int
public readonly FLabel _label

Field Value

FLabel
public readonly DyeableRect _rect

Field Value

DyeableRect
public readonly DyeableRect _rectH

Field Value

DyeableRect
public string _text

Field Value

string
public Color colorEdge

Field Value

Color
public Color colorFill

Field Value

Color
public SoundID soundClick

Field Value

SoundID

Properties

public bool _IsImageButton { get; }

Property Value

bool
public FLabelAlignment alignment { get; set; }

Property Value

FLabelAlignment
public string text { get; set; }

Property Value

string

Methods

public override void Change()
public override string DisplayDescription()

Returns

string
public override void GrafUpdate(float timeStacker)

Parameters

timeStacker float
public override void NonMouseSetHeld(bool newHeld)

Parameters

newHeld bool
public override void Update()

Events

public event OnSignalHandler OnClick

Event Type

OnSignalHandler
public event OnSignalHandler OnPressHold

Event Type

OnSignalHandler
public event OnSignalHandler OnPressInit

Event Type

OnSignalHandler