void Awake() { RollTheDice = GameObject.Find("Dice").GetComponent<RollDice>(); TheBaseStar = this.gameObject.GetComponent<BaseStar>(); TheBaseStellarType = this.gameObject.GetComponent<BaseStellarType>(); TheBaseSpectralClass = this.gameObject.GetComponent<BaseSpectralClass>(); PlentifulResources = new List<string>(); ScarceResources = new List<string>(); }
void Awake() { this.gameObject.GetComponent<SgtCustomStarfield>().Stars [0].Color = ClassTcolor; TheBaseStar = this.gameObject.GetComponent<BaseStar>(); TheBaseSpectralClass = this.gameObject.GetComponent<BaseSpectralClass>(); }