/// <summary>
    /// 获取特效预制
    /// </summary>
    /// <param name="bulletPrefab"></param>
    /// <returns></returns>
    static GameObject GetEffectPrefab(GameObject bulletPrefab)
    {
        SpownEffectContainer container = bulletPrefab.GetComponent <SpownEffectContainer>();

        if (container != null)
        {
            return(container.effectPrefab);
        }
        return(null);
    }
    //基础方法
    /// <summary>
    /// 生成子弹储存的特效并返回特效物体,没有储存特效则返回null
    /// </summary>
    /// <param name="bulletPrefab"></param>
    /// <param name="position"></param>
    /// <param name="rotation"></param>
    /// <returns></returns>
    static GameObject CreatSpownEffect(GameObject bulletPrefab, Vector3 position, Quaternion rotation)
    {
        SpownEffectContainer container = bulletPrefab.GetComponent <SpownEffectContainer>();

        if (container != null && container.effectPrefab != null)
        {
            return(Pool.Get(container.effectPrefab, position, rotation));
        }

        return(null);
    }