コード例 #1
0
 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>();
 }