// 向target使用技能 public void onUseSkill(TankManager targetTM, EPropType type, Vector3 pos) { Debug.LogErrorFormat("TankManager::onUseSkill {0}", type); switch (type) { case EPropType.ePT_Bullet: { m_shooting.onUseSkill(targetTM, type); break; } default: { m_propBehavior.onUseSkill(targetTM, type, pos); break; } } }