1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class SkillConfigLabel
- {
- public static string Pack = "Pack";
- public static string Skill = "Skill";
- public static string Ability = "Ability";
- public static string GetFullID(SkillType type, int id)
- {
- if (type == SkillType.Skill || type == SkillType.BigSkill)
- {
- return Skill + id;
- }
- else if (type == SkillType.Ability)
- {
- return Ability + id;
- }
- else if (type == SkillType.Pack)
- {
- return Pack + id;
- }
- else
- {
- throw new Exception();
- }
- }
- }
|