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.
 }
Пример #2
0
 void Start()
 {
     _clockUIScript     = GetComponent <ClockUIScript>();
     _p2pMovingManager  = GetComponent <PointToPointMoveManagerScript>();
     _playerInfoManager = GetComponent <PlayerInfoManagerScript>();
     _bankManager       = GetComponent <BankManagerScript>();
     _foodManager       = GetComponent <FoodManagerScript>();
 }
Пример #3
0
 void Start()
 {
     _clockUiScript  = GetComponent <ClockUIScript>();
     _checkpointHalf = (float)Checkpoints.Length / 2;
     PlayerTransform.transform.position = Checkpoints[0].transform.position;
 }
Пример #4
0
 void Start()
 {
     _playerInfoManager = GetComponent <PlayerInfoManagerScript>();
     _clockUiScript     = GetComponent <ClockUIScript>();
     _pointMoveManager  = GetComponent <PointToPointMoveManagerScript>();
 }
Пример #5
0
 void Start()
 {
     _clockUi = GetComponent <ClockUIScript>();
 }
Пример #6
0
 void Start()
 {
     _p2pMoveManager = GetComponent <PointToPointMoveManagerScript>();
     _clockUiScript  = GetComponent <ClockUIScript>();
 }
Пример #7
0
 void Start()
 {
     _workManager    = PlayerInfoManager.GetComponent <WorkManagerScript>();
     _clockUI        = PlayerInfoManager.GetComponent <ClockUIScript>();
     _setJobLocation = PlayerInfoManager.GetComponent <SetJobLocationScript>();
 }
Пример #8
0
 void Start()
 {
     _spaceRefManagerScript = transform.parent.GetComponent <SpacesRefManagerScript>();
     _clockUiScript         = _spaceRefManagerScript.GameManager.GetComponent <ClockUIScript>();
     _p2pMovingManager      = _clockUiScript.GetComponent <PointToPointMoveManagerScript>();
 }