public void playDisk()
 {
     EmitDisk = Emit2.GetSSAction();
     Disk     = diskFactory.getDisk(sceneController.round);
     this.RunAction(Disk, EmitDisk, this);
     Disk.GetComponent <DiskData2>().action = EmitDisk;
 }
예제 #2
0
 // Update is called once per frame
 protected new void Update()
 {
     if (sceneController.round <= 3 && sceneController.game == 1)
     {
         count++;
         if (count == 60)
         {
             EmitDisk = Emit2.GetSSAction();
             this.RunAction(diskFactory.getDisk(sceneController.round), EmitDisk, this);
             sceneController.num++;
             print(sceneController.num);
             count = 0;
         }
         base.Update();
     }
 }
예제 #3
0
    public static Emit2 GetSSAction()
    {
        Emit2 action = ScriptableObject.CreateInstance <Emit2>();

        return(action);
    }