文档

Unity Engine

Unity Engine

GetSourceExtension<T>()

Searches for a Source Extension of the given type, and returns it. Returns null if the type cannot be found.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Returns

Type

Description

TThe class implementing ISource if found, else
null
.