コード例 #1
0
ファイル: Extensions.cs プロジェクト: Strawhenge/AutofacUnity
 public static T ResolveFromGameObject <T>(this IComponentContext context) where T : Object =>
 context.GetGameObject().GetComponent <T>();