Search Results for

    Show / Hide Table of Contents

    Class Menu

    Manages all menus and their behavior

    Inheritance
    System.Object
    Menu
    Namespace: Tetris
    Assembly: cs.temp.dll.dll
    Syntax
    public class Menu : MonoBehaviour

    Fields

    Alert

    Declaration
    public static Text Alert
    Field Value
    Type Description
    Text

    Alerts

    Declaration
    public static int Alerts
    Field Value
    Type Description
    System.Int32

    Animations

    Declaration
    public static int Animations
    Field Value
    Type Description
    System.Int32

    blockPrefab2

    Declaration
    public GameObject blockPrefab2
    Field Value
    Type Description
    GameObject

    materialGame

    Declaration
    public Material materialGame
    Field Value
    Type Description
    Material

    materialMenu

    Declaration
    public Material materialMenu
    Field Value
    Type Description
    Material

    Properties

    Menus

    Declaration
    public static SubMenu[] Menus { get; }
    Property Value
    Type Description
    SubMenu[]

    NeedToAddPlayer

    Declaration
    public static bool NeedToAddPlayer { get; set; }
    Property Value
    Type Description
    System.Boolean

    NeedToEndAlert

    Declaration
    public static bool NeedToEndAlert { get; set; }
    Property Value
    Type Description
    System.Boolean

    NeedToRemovePlayer

    Declaration
    public static bool NeedToRemovePlayer { get; set; }
    Property Value
    Type Description
    System.Boolean

    PlayerCount

    Declaration
    public int PlayerCount { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    AlertEnd()

    Ends alerts

    Declaration
    public static IEnumerator AlertEnd()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator

    AlertStart(String)

    Starts alerts

    Declaration
    public static void AlertStart(string text)
    Parameters
    Type Name Description
    System.String text

    alert text

    In This Article
    Back to top © 2022 Ondřej Sakala. All rights reserved.