Esempio n. 1
0
 protected virtual void Start()
 {
     _simulationTickRate = FindObjectOfType <SimulateTickRate>();
     if (_simulationTickRate != null)
     {
         _simulationTickRate.OnTickUpdate.AddListener(OnTickUpdate);
     }
 }
Esempio n. 2
0
 private void Start()
 {
     _simulationTickRate = FindObjectOfType <SimulateTickRate>();
     if (_simulationTickRate != null)
     {
         _simulationTickRate.OnTickUpdate.AddListener(OnTickUpdate);
     }
     _navigation = FindObjectOfType <Navigation>();
 }
Esempio n. 3
0
 private void Start()
 {
     _simulationTickRate = FindObjectOfType <SimulateTickRate>();
     _simulationTickRate.OnTimeChanged += OnTimeChanged;
 }