コード例 #1
0
ファイル: ihntPanelBase.cs プロジェクト: k-payl/Runner
    public virtual void Show()
    {
        if (showTweensDestination != null)
        {
            showTweensDestination.Play();
        }
        else
        {
            owner.Show();
        }

        dfProgressBar bar = GetComponent <dfProgressBar>();

        if (bar == null)
        {
            bar = GetComponentInChildren <dfProgressBar>();
        }
        if (bar == null)
        {
            return;
        }

        bar.Hide();
        bar.Value = 0;
    }
コード例 #2
0
ファイル: ihntButtonBase.cs プロジェクト: k-payl/Runner
 protected virtual void Start()
 {
     if (loadingBar != null)
     {
         loadingBar.Hide();
     }
     switchPanelBehaviour = new Switchable(ToHidePanel, ToShowPanel);
 }