void Start() { _clockUiScript = GetComponent <ClockUIScript>(); _foodManager = GetComponent <FoodManagerScript>(); Player.transform.position = Spaces[0].transform.position; _spaces = Spaces.Count - 1; // transforms the amount of spaces for easy use. And for easy use when making the map bigger. }
void Start() { _clockUIScript = GetComponent <ClockUIScript>(); _p2pMovingManager = GetComponent <PointToPointMoveManagerScript>(); _playerInfoManager = GetComponent <PlayerInfoManagerScript>(); _bankManager = GetComponent <BankManagerScript>(); _foodManager = GetComponent <FoodManagerScript>(); }
void Start() { _clockUiScript = GetComponent <ClockUIScript>(); _checkpointHalf = (float)Checkpoints.Length / 2; PlayerTransform.transform.position = Checkpoints[0].transform.position; }
void Start() { _playerInfoManager = GetComponent <PlayerInfoManagerScript>(); _clockUiScript = GetComponent <ClockUIScript>(); _pointMoveManager = GetComponent <PointToPointMoveManagerScript>(); }
void Start() { _clockUi = GetComponent <ClockUIScript>(); }
void Start() { _p2pMoveManager = GetComponent <PointToPointMoveManagerScript>(); _clockUiScript = GetComponent <ClockUIScript>(); }
void Start() { _workManager = PlayerInfoManager.GetComponent <WorkManagerScript>(); _clockUI = PlayerInfoManager.GetComponent <ClockUIScript>(); _setJobLocation = PlayerInfoManager.GetComponent <SetJobLocationScript>(); }
void Start() { _spaceRefManagerScript = transform.parent.GetComponent <SpacesRefManagerScript>(); _clockUiScript = _spaceRefManagerScript.GameManager.GetComponent <ClockUIScript>(); _p2pMovingManager = _clockUiScript.GetComponent <PointToPointMoveManagerScript>(); }