Tanoda
Enum.cs
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (C) Ultraleap, Inc. 2011-2020. *
3
* *
4
* Use subject to the terms of the Apache License 2.0 available at *
5
* http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
6
* between Ultraleap and you, your company or other organization. *
7
******************************************************************************/
8
9
using
System;
10
11
namespace
Leap.Unity
{
12
13
public
static
class
Enum<T> {
14
public
static
readonly
string
[] names;
15
public
static
readonly T[] values;
16
17
static
Enum() {
18
names = (
string
[])Enum.GetNames(typeof(T));
19
values = (T[])Enum.GetValues(typeof(T));
20
}
21
}
22
}
Leap.Unity
Definition:
AssetFolderPropertyDrawer.cs:15
Source
Assets
Plugins
LeapMotion
Core
Scripts
Utils
Enum.cs
Generated by
1.9.3