// Update is called once per frame void Update() { currentTime++; if (shot && currentN < N) { if (currentTime % countPersecond == 0) { currentN++; if (currentN == N) { gameStop(); return; } factory.getDiskCount(round); } } }
public void moveDisk() { GameObject diskObj = factory.getDiskCountObject(factory.getDiskCount(sceneController.round)); this.MoveToAction(diskObj, sceneController.getSpeed()); }