public string GetSkillResPath(int skillID) { string assetPath; int scene_obj_type = GetSceneObjTypeBySkillID(skillID); if (scene_obj_type == (int)SceneObjectType.Role) { assetPath = ResPath.GetRoleSkillResPath(skillID); } else if (scene_obj_type == (int)SceneObjectType.Monster) { assetPath = ResPath.GetMonsterSkillResPath(skillID); } else { assetPath = ""; } return(assetPath); }