The following is my command.
Code: Select all
GameObject[] body_parts = ES3.Load<GameObject[]>(IdPlayer+ "_body_parts");//
short[] body_types = ES3.Load<short[]>(IdPlayer+ "_body_types");
ES3.Save<GameObject[]>(IdPlayer+ "_body_parts", body_parts);//Each object contains components: Mesh, RootBone, Animation, Material.
ES3.Save<short[]>(IdPlayer+ "_body_types", body_types);