public static GameObject GetNPCPrefab(NPCJobs job)
 {
     if (job == NPCJobs.Monster)
     {
         return(Resources.Load("CharacterPrefabs/Monster/Skeleton") as GameObject);
     }
     return(Resources.Load("CharacterPrefabs/" + job.ToString()) as GameObject);
 }
        public static string GetName(NPCJobs job)
        {
            switch (job)
            {
            case NPCJobs.Warrior:
                break;

            case NPCJobs.Archer:
                break;

            case NPCJobs.Mage:
                break;

            case NPCJobs.Monster:
                break;

            default:
                break;
            }
            return(job.ToString() + Random.Range(0, 1000).ToString());
        }
 public static GameObject GetStayPrefabd(NPCJobs job)
 {
     return(Resources.Load("GUI/StayPref/" + job.ToString()) as GameObject);
 }
 public static Texture2D GetFaceicon(NPCJobs job)
 {
     return(Resources.Load <Texture2D>(job.ToString()));
 }