private void Start() { startConditions = Models.StartConditions; BlockModel = Models.SpaceShip.GetBlockModel(blockType); BlockModel.AddToStatus(startConditions.StartBlockStatusValue); SetModelValues(); }
private void Awake() { StatsMath = new StatsMath(); SpaceShip = new SpaceShip(); CharacterPool = new CharacterPool(); StartConditions = new StartConditions(); ButtonModel = new ButtonModel(); Scenario = new Scenario(); References = FindObjectOfType <References>(); }
private void Start() { spaceShip = Models.SpaceShip; startConditions = Models.StartConditions; statsMath = Models.StatsMath; SetStartPeopleCount(); StartCoroutine(CalculateStats()); Event.OnEventShown += TurnStatsOff; Event.OnEventClosed += TurnStatsOn; }
void Start() { shipController = FindObjectOfType <ShipController>(); statsMath = Models.StatsMath; pool = Models.CharacterPool; startConditions = Models.StartConditions; AddAllChildren(); SetStartPeopleCount(); CharInListView.OnCharClicked += ViewChar; Dragable.OnDragEvent += OnDrag; Droppable.OnDropEvent += OnDrop; }