Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Apr 6th, 2020 139 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. using UnityEngine.UI;
  6.  
  7. public class DaileyManagment : MonoBehaviour
  8. {
  9.     [SerializeField] private int year, month, day, hours, minutes, secondes;
  10.    
  11.  
  12.  
  13.     public GameObject DaileyEncounter;
  14.  
  15.     public GameObject Day;
  16.  
  17.     public float Timer;
  18.  
  19.     public Text Clock;
  20.     public Text Dailey;
  21.     public Text Day1;
  22.     public Text Day2;
  23.     public Text Day3;
  24.     public Text Day4;
  25.     public Text Day5;
  26.     public Text Day6;
  27.     public Text Day7;
  28.  
  29.  
  30.    
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.     // Start is called before the first frame update
  40.     void Start()
  41.     {
  42.         Dailey.text = "Tägliche Belohnung füs einloggen";
  43.         Day1.text = "Tag 1";
  44.         Day2.text = "Tag 2";
  45.         Day3.text = "Tag 3";
  46.         Day4.text = "Tag 4";
  47.         Day5.text = "Tag 5";
  48.         Day6.text = "Tag 6";
  49.         Day7.text = "Tag 7";
  50.     }
  51.  
  52.     // Update is called once per frame
  53.     void Update()
  54.     {
  55.         DateTime time = DateTime.Now;
  56.  
  57.         Clock.text = time.ToString("HH:mm:ss");
  58.  
  59.  
  60.         DateTime myPrice = new DateTime (year, month, day, hours, minutes, secondes);
  61.  
  62.         if(DateTime.Today == myPrice)
  63.         {
  64.             Day.SetActive(false);
  65.         }
  66.        
  67.     }
  68.  
  69.  
  70.  
  71.     public void DaileyClosed()
  72.     {
  73.         DaileyEncounter.SetActive(false);
  74.     }
  75.  
  76.  
  77.  
  78.     public void DayPrice1()
  79.     {
  80.  
  81.     }
  82.  
  83.     public void DayPrice2()
  84.     {
  85.  
  86.     }
  87.  
  88.     public void DayPrice3()
  89.     {
  90.  
  91.     }
  92.  
  93.     public void DayPrice4()
  94.     {
  95.  
  96.     }
  97.  
  98.     public void DayPrice5()
  99.     {
  100.  
  101.     }
  102.  
  103.     public void DayPrice6()
  104.     {
  105.  
  106.     }
  107.  
  108.     public void DayPrice7()
  109.     {
  110.  
  111.     }
  112.  
  113.  
  114.  
  115.    
  116.    
  117.  
  118.  
  119.    
  120.        
  121.  
  122.  
  123.  
  124. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top