// Use this for initialization
    void Start()
    {
        state = NBodySimulationState.Initialize;
        if(PlayerPrefs.HasKey("NBodyNumberOfRounds"))
            maxNumberOfRounds = PlayerPrefs.GetInt("NBodyNumberOfRounds");

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

        logger = manualLoggerObject.GetComponent <ManualLogger>();
    }