// Use this for initialization void Start() { state = NBodySimulationState.Initialize; if(PlayerPrefs.HasKey("NBodyNumberOfRounds")) maxNumberOfRounds = PlayerPrefs.GetInt("NBodyNumberOfRounds"); logger = manualLoggerObject.GetComponent<ManualLogger>(); }
// Use this for initialization void Start() { state = NBodySimulationState.Initialize; if (PlayerPrefs.HasKey("NBodyNumberOfRounds")) { maxNumberOfRounds = PlayerPrefs.GetInt("NBodyNumberOfRounds"); } logger = manualLoggerObject.GetComponent <ManualLogger>(); }