コード例 #1
0
    // 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);
            }
        }
    }
コード例 #2
0
    public void moveDisk()
    {
        GameObject diskObj = factory.getDiskCountObject(factory.getDiskCount(sceneController.round));

        this.MoveToAction(diskObj, sceneController.getSpeed());
    }