public enum EventCategory extends Enum<EventCategory>
Modifier and Type | Method and Description |
---|---|
static EventCategory |
of(String name) |
String |
toString() |
static String |
typeNamesToString() |
static EventCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventCategory PRE_INIT
public static final EventCategory POST_INIT
public static final EventCategory TEST
public static EventCategory[] values()
for (EventCategory c : EventCategory.values()) System.out.println(c);
public static EventCategory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<EventCategory>
public static String typeNamesToString()
public static EventCategory of(String name)
Copyright © 2019 Unity. All rights reserved.