示例#1
0
 void OnMouseDown()
 {
     Debug.Log("sdddsssssssssss");
     ScratchPanel.SetActive(false);
     SpecialPanel.SetActive(false);
     StorePanel.SetActive(false);
 }
示例#2
0
    void Start()
    {
        CoinText.text = "1000";
        CoinText.text = PlayerPrefs.GetInt("k").ToString();

        Debug.Log(winp);
        InvokeRepeating("OpenedStartPanel", 2, 0.3F);
        StartPanel.SetActive(true);
        StorePanel.SetActive(false);
        ScratchPanel.SetActive(false);
        SpecialPanel.SetActive(false);
        //    int unixTime = (int)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds;
        //    TimeSpan interval = TimeSpan.FromMilliseconds(unixTime);
        //    string time = "h=" + interval.Hours.ToString() + " " + "m=" + interval.Minutes.ToString() + " " + "s=" + interval.Seconds.ToString() + " " + "ms=" + interval.Milliseconds.ToString();
        Pres = (PlayerPrefs.GetInt("Name") != 0);
        //Debug.Log(time + "unixTime");
        //PlayerPrefs.DeleteAll();
    }
示例#3
0
 public void OpenedScratchPanel()
 {
     ScratchPanel.SetActive(true);
     SpecialPanel.SetActive(false);
     StorePanel.SetActive(false);
 }
示例#4
0
 public void CloseSpecialPanel()
 {
     SpecialPanel.SetActive(false);
 }