void Awake()
 {
     m_BlurPanel          = GetComponentInChildren <UiBlurPanel>();
     m_CoinValueText.text = GameManager.formatCoinValue(GameManager.instance.getCharacterData().coin);
     GameManager.instance.addEventListener(this);
     m_AlarmText.gameObject.SetActive(false);
 }
Exemple #2
0
 public void onDidPushToStack(bool animate)
 {
     m_BlurPanel = GCanvasController.instance.addToCover(m_BlurPanelPrefab).GetComponent <UiBlurPanel>();
     m_ClockText = GCanvasController.instance.addToCover(m_ClockTextPrefab).GetComponent <UiClockText>();
     // m_ClockText.gameObject.SetActive(false);
     // m_BlurPanel.gameObject.SetActive(false);
     m_BlurPanel.setTransparent(0f);
     m_ClockText.setTransparent(0f);
 }