Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSourceExtension<T>()

Searches for a Source Extension of the given type, and returns it. Returns null if the type cannot be found.
Read time 1 minuteLast updated 5 days ago

Definition

public T GetSourceExtension<T>() where T : class, ISource

Returns

Type

Description

TThe class implementing ISource if found, else
null
.