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
- Type: Method
- Namespace: Unity.SmartStrings
- Assembly: UnityEngine.SmartStringsModule
public T GetSourceExtension<T>() where T : class, ISource
Returns
Type | Description |
|---|---|
| T | The class implementing ISource if found, else |