AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
TypeUtils.cs
Go to the documentation of this file.
1
// Copyright (c) Microsoft Corporation. All rights reserved.
2
// Licensed under the MIT License. See LICENSE in the project root for license information.
3
4
using
System
;
5
#if UNITY_WSA && !UNITY_EDITOR
6
using
System
.Reflection;
7
#endif
8
9
namespace
HoloToolkit
10
{
11
public
static
class
TypeUtils
12
{
13
public
static
Type
GetBaseType
(
this
Type type)
14
{
15
#if UNITY_WSA && !UNITY_EDITOR
16
return
type.GetTypeInfo().BaseType;
17
#else
18
return
type.BaseType;
19
#endif
20
}
21
}
22
}
System
HoloToolkit.TypeUtils.GetBaseType
static Type GetBaseType(this Type type)
Definition:
TypeUtils.cs:13
HoloToolkit.TypeUtils
Definition:
TypeUtils.cs:11
HoloToolkit
Assets
HoloToolkit
Common
Scripts
CrossPlatform
Reflection
TypeUtils.cs
Generated by
1.8.12