C# Class MenuViewHorizontal, racing_game

Inheritance: MenuView
Show file Open project: Rarau/racing_game

Public Properties

Property Type Description
backgroundColor Color
backgroundImage Sprite
curOption int
drawCamera Camera
fillScreen bool
highlightedColor Color
horizontalViewPrefab GameObject
menuTextPrefab GameObject
offset Vector2
size Vector2
textFont Font
unhighlightedColor Color
viewAnchor TextAnchor

Public Methods

Method Description
AddOption ( GameObject newOption ) : void
GoToOption ( int option ) : void
Start ( ) : void
Update ( ) : void

Method Details

AddOption() public method

public AddOption ( GameObject newOption ) : void
newOption GameObject
return void

GoToOption() public method

public GoToOption ( int option ) : void
option int
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

backgroundColor public property

public Color backgroundColor
return Color

backgroundImage public property

public Sprite backgroundImage
return Sprite

curOption public property

public int curOption
return int

drawCamera public property

public Camera drawCamera
return Camera

fillScreen public property

public bool fillScreen
return bool

highlightedColor public property

public Color highlightedColor
return Color

horizontalViewPrefab public property

public GameObject horizontalViewPrefab
return GameObject

menuTextPrefab public property

public GameObject menuTextPrefab
return GameObject

offset public property

public Vector2 offset
return Vector2

size public property

public Vector2 size
return Vector2

textFont public property

public Font textFont
return Font

unhighlightedColor public property

public Color unhighlightedColor
return Color

viewAnchor public property

public TextAnchor viewAnchor
return TextAnchor