예제 #1
0
 public void Initialize(HudGameplayController hudGameplay, int seconds, Action afterCollected)
 {
     _hudGameplayController = hudGameplay;
     _hudTimeTarget         = hudGameplay.GetTimeHudTargetTransform();
     _onAfterCollected      = afterCollected;
     _secondsAdded          = seconds;
 }
예제 #2
0
 public void Initialize(HudGameplayController hudGameplay)
 {
     SetState(CoinObjectState.Coin);
     _currentChestCounter   = null;
     _hudGameplayController = hudGameplay;
     _hudCoinTarget         = hudGameplay.GetCoinHudTargetTransform();
 }