MCPcopy Create free account
hub / github.com/Tencent/xLua / IsSubclassOf

Method IsSubclassOf

Assets/XLua/Src/TypeExtensions.cs:101–104  ·  view source on GitHub ↗
(this Type type, Type c)

Source from the content-addressed store, hash-verified

99
100#if UNITY_WSA && !UNITY_EDITOR
101 public static bool IsSubclassOf(this Type type, Type c)
102 {
103 return type.GetTypeInfo().IsSubclassOf(c);
104 }
105
106 public static bool IsDefined(this Type type, Type attributeType, bool inherit)
107 {

Callers 2

LuaEnv.csFile · 0.80
LuaFunction.csFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected