Example #1
0
 private void Awake()
 {
     if (instance != null)
     {
         Destroy(this.gameObject);
     }
     else
     {
         // DontDestroyOnLoad(this.gameObject);
         instance = this;
     }
 }
 private void Start()
 {
     swipeManager    = FindObjectOfType <SwipeCountManager>();
     blockManegement = GetComponent <NumberBlockManegement>();
 }
Example #3
0
    private float SwipeTime = 1f; // 충전시간


    void Start()
    {
        instance = this;
        StartCoroutine(SwipeCountUp());
    }