/// <summary>
 /// 根据名字查找攻击特效预制体
 /// </summary>
 /// <param name="skillEffect"></param>
 /// <returns></returns>
 public GameObject FindPrefab(EffectPrefabs effect)
 {
     for (int i = 0; i < effectPrefabsAll.Length; i++)
     {
         if (effectPrefabsAll[i].name == effect.ToString())
         {
             return(effectPrefabsAll[i] as GameObject);
         }
     }
     return(null);
 }
 private void Awake()
 {
     Instance = this;
 }