Language
Edit

SystemType Class

Definition

Reference to a class Type with support for Unity serialization.

[System.Serializable]
public class SystemType : UnityEngine.ISerializationCallbackReceiver
[<System.Serializable>]
type SystemType = class
    interface ISerializationCallbackReceiver
Public Class SystemType
Implements ISerializationCallbackReceiver
Inheritance
SystemType
Derived
Attributes
Implements
UnityEngine.ISerializationCallbackReceiver

Constructors

Name Description
SystemType(String)

Initializes a new instance of the SystemType class.

SystemType(Type)

Initializes a new instance of the SystemType class.

Properties

Name Description
Type

Gets or sets type of class reference.

Methods

Name Description
Equals(Object)

Compares two SystemType instances for equality.

GetHashCode()

Gets the hash code for the SystemType.

GetReference(String)

Create a reference string from the given assembly qualified class name. The reference string will contain the full name and assembly name from the given assembly qualified name.

GetReference(Type)

Create a reference string from the given type's assembly qualified class name. The reference string will contain the full name and assembly name from the given type.

ToString()

Returns a string that represents this SystemType.

ValidConstraint(Type)

An overridable constraint to determine whether a type is valid to serialize.

Operators

Name Description
Implicit(SystemType to String)

Returns the reference string for the type represented by this SystemType.

Implicit(SystemType to Type)

Returns the type represented by this SystemType.

Implicit(Type to SystemType)

Create an instance of SystemType for the given type.

Explicit Interface Implementations

Name Description
ISerializationCallbackReceiver.OnAfterDeserialize()

Implemented so to receive a callback after Unity deserializes this object.

ISerializationCallbackReceiver.OnBeforeSerialize()

Implemented so to receive a callback before Unity deserializes this object.

Applies to