// Use this for initialization void Start() { GlobalEnviornmentDamagePerTurn = this.EnviornmentDamagePerTurn; GlobalMutationChance = this.MutationChance; GlobalMaxInt = this.MaxInt; GlobalMaxHeight = this.MaxHeight; GlobalForceFlat = this.ForceFlat; GlobalColorBlendDistance = this.ColorBlendDistance; GlobalShowDeath = this.ShowDeath; GlobalHeightBlendDistance = this.HeightBlendDistance; GlobalCreationPrefab = this.CreationPrefab; GlobalShapeHorizontalScale = this.ShapeHorizontalScale; GlobalEnableColorBlend = this.EnableColorBlend; GameObjectGrid.InitializeToMatchScreenResolution(); CameraController.ResetMainCamera(); // Important to come after prefab set foreach (Material material in this.TeamMaterials) { this.teamManagerList.Add(new TeamManager(material)); } }