// Use this for initialization void Start() { //Initialize and fill all the lists of all the loaded body part models characterSaveManager = GetComponent <CharacterSaveManager> (); LoadCharacterModelsFromJson(); gamePlaying = true; }
public PlayerData(CharacterSaveManager player) { position = new float[3]; position[0] = player.transform.position.x; position[1] = player.transform.position.y; position[2] = player.transform.position.z; }
// Use this for initialization void Start() { //Initialize and fill all the lists of all the loaded body part models characterSaveManager = GetComponent<CharacterSaveManager> (); LoadCharacterModelsFromJson (); gamePlaying = true; }