コード例 #1
0
 public void emitDisk()
 {
     for (int i = 0; i < disk_level.getEmitnum(); i++)
     {
         int        id   = myFactory.getDisk();
         GameObject disk = myFactory.GetDiskObject(id);
         disk.SetActive(true);
         ActionManager.GetInstance().ApplyMoveToAction(disk);
         disk.GetComponent <MoveToAction>().setId(id);
     }
 }
コード例 #2
0
    public void playDisk()
    {
        GameObject obj = factory.GetDiskObject(factory.GetDisk(sceneController.round));

        this.ApplyMoveToAction(obj, sceneController.getSpeedByRound());
    }