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