例如
public UnityEngine.Component GetComponent(System.Type type) {}
// metadata token 060018FE
public T GetComponent<T>() where T : UnityEngine.Component {
return (T)(this.GetComponent(typeof(T)) as T);
}
怎么反推上面2个函数
public UnityEngine.Component GetComponent(System.Type type) {
//这里怎么调用 T GetComponent<T>()? type赋值<T>
}