getComponent(抽象类),我是该用还是不该用呢?

getComponent(抽象类)编译报错,因为__private.Constructor不匹配抽象类,但是实际是可以使用并获得实现类的实例的,而且这个用法是很常见的操作,比如Bullet、Missile集成abstract Weapon,那么getComponent(Weapon)就可以。