Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetRootType(Type)

Utility method to return the base type.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule
public static Type GetRootType(this Type type)

Parameters

type

The Type for which we want the base type.

Returns

Type

Description

TypeThe base type.