/// <summary> /// LoadDefault Values from Colonymanager /// </summary> public void LoadDefaultValues() { if (m_FieldSize) { m_FieldSize.SetAmmount(ColonyOptions.FieldSizeDefault); } m_PheromoneDuration.SetAmmount(ColonyOptions.PheromoneDurationDefault); m_SpawnInterval.SetAmmount(ColonyOptions.SpawnIntervalDefault); m_SpawnTogether.SetAmmount(ColonyOptions.SpawnTogetherDefault); m_WorkerCount.SetAmmount(ColonyOptions.WorkerCountDefault); m_WorkerPerception.SetAmmount(ColonyOptions.WorkerPerceptionDefault); m_WorkerPathLength.SetAmmount(ColonyOptions.LastPathLengthDefault); m_ScoutCount.SetAmmount(ColonyOptions.ScoutCountDefault); m_ScoutPerception.SetAmmount(ColonyOptions.ScoutPerceptionDefault); m_ScoutPathLimit.SetAmmount(ColonyOptions.MaxPathLimitDefault); }