Example #1
0
    public void OnUpdateSpaceShipPosition(float s, float p)
    {
        int t = (int)Mathf.Ceil(s);

        timeLeft.ReloadParameter(new string[] { t.ToString() });
        spaceShipPosition = p;
    }
    void Start()
    {
        name.ReloadParameter(new string[] { GameManager.PlayerName });
        meteorite.ReloadParameter(new string[] { GameManager.PlayerMeteorites.ToString() });
        FadeManager.TurnLight(() => { });

        battleBtn.onClick.AddListener(Battle);
    }
Example #3
0
    public void OnBattleStartCountDown(float s)
    {
        int t = (int)Mathf.Ceil(s);

        startLeft.ReloadParameter(new string[] { t.ToString() });
    }