private void showCircle(GameObject go, Vector3 pos) { CircleController controller = go.GetComponentInChildren <CircleController>(); controller.initCircle(); moveCircle(go, pos); go.SetActive(true); SoundManager.sInstance.playOneShot(AudioClipManager.sinstance.AC_GEM_GET); }
private void showCircle(Vector3 pos) { CircleController controller = circle.GetComponentInChildren <CircleController>(); controller.initCircle(); mColor32 = controller.getColor32(); moveCircle(pos); circle.SetActive(true); SoundManager.sInstance.playOneShot(AudioClipManager.sinstance.AC_GEM_GET); }