c# には System.Type というクラスがある。
リフレクション(メタプロ)には、このSystem.Typeが必要、らしい。
例えば、unityの[RequireComponent(A)]
のAはSystem.Typeである必要がある。
typeof演算子を使う。
typeof( Myclass )
c# には System.Type というクラスがある。
リフレクション(メタプロ)には、このSystem.Typeが必要、らしい。
例えば、unityの[RequireComponent(A)]
のAはSystem.Typeである必要がある。
typeof演算子を使う。
typeof( Myclass )