SkillReady.cs 475 B

12345678910111213141516171819202122
  1. using UnityEngine;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. namespace YLBattle
  5. {
  6. /// <summary>
  7. /// 技能准备阶段效果.
  8. /// </summary>
  9. public class SkillReady : MonoBehaviour
  10. {
  11. /// <summary>
  12. /// 激活预置物体
  13. /// </summary>
  14. /// <param name="_effPrefab">预置物体</param>
  15. public void create(GameObject _effPrefab)
  16. {
  17. _effPrefab.SetActive(true);
  18. }
  19. }
  20. }