private void Update()
 {
     if (_gameStarted)
     {
         StartGameText.color = UILerper.LerpOpacity(StartGameText.color, 0, 0.05f);
     }
 }
Example #2
0
 private void Update()
 {
     if (_gameStarted)
     {
         CalculateRemainingTime();
         StartGameText.color = UILerper.LerpOpacity(StartGameText.color, 0, 0.05f);
     }
 }
Example #3
0
 private void Update()
 {
     CheckIfTimeOver();
     //StartGameText.rectTransform.localScale =  IncreaseUISize(StartGameText.rectTransform,_orScale);
     if (_gameStarted)
     {
         CalculateRemainingTime();
         StartGameText.color = UILerper.LerpOpacity(StartGameText.color, 0, 0.05f);
     }
 }
 private void ShowEndGameUI()
 {
     UILerper.LerpUI(EndGameUI, new Vector2(0, EndGameUI.anchoredPosition.y), 10f);
 }
 private void HideStartGameUI()
 {
     UILerper.LerpUI(StartGameUI, _originalUIPos, StartGameMoveSpeed);
 }
 private void ShowStartGameUI()
 {
     UILerper.LerpUI(StartGameUI, new Vector2(0, _originalUIPos.y), StartGameMoveSpeed);
 }
Example #7
0
 private void HideUIElements()
 {
     UILerper.LerpUI(Border, _originalBorderPos, _csm.CharacterSelectBorderMoveSpeed);
     NameSpace.enabled = false;
 }
Example #8
0
 private void ShowUIElements()
 {
     UILerper.LerpUI(Border, new Vector2(Border.anchoredPosition.x, -10f), _csm.CharacterSelectBorderMoveSpeed);
     NameSpace.enabled = true;
 }
Example #9
0
 void Start()
 {
     lerper = GetComponentInParent <UILerper>();
 }