/*public GameObject model_ninja; * * * public static void GetModel(Player Customer,string s) * { * //string model_name = s + "_Model"; * //GameObject model = Resources.Load(model_name) as GameObject; * var g = GameObject.Instantiate(model_ninja) as GameObject; * * g.transform.parent = Customer.gameObject.transform; * g.transform.localPosition = new Vector3(0,-26.60f,1.76f); * g.transform.localScale = new Vector3(14.63f,14.64f,14.64f); * }*/ public static List <Spell> GetAllActiveSkillsByClass(Player Customer, string @class) { switch (@class) { case "Ninja": return(Ninja.GetSpellList(Customer)); case "Angel": return(Angel.GetSpellList(Customer)); default: return(null); } }