void Awake() { RollTheDice = GameObject.Find("Dice").GetComponent<RollDice>(); TheBaseStar = GetComponentInParent<BaseStar>(); TheBasePlanetarySystem = this.gameObject.GetComponent<BasePlanetarySystem>(); TheBaseCivilization = this.gameObject.GetComponent<BaseCivilization>(); }
void Awake() { Aspects = new List<string>(); RollTheDice = GameObject.Find("Dice").GetComponent<RollDice>(); TheBaseStar = GetComponentInParent<BaseStar>(); TheBasePlanetarySystem = this.gameObject.GetComponent<BasePlanetarySystem>(); TheSliderSetting = Mathf.FloorToInt(GameObject.Find("Slider").GetComponent<SliderController>().TheValue); }