Пример #1
0
 public void playDisk(int round)
 {
     EmitDisk = PhysicsEmit.GetSSAction();
     Disk     = diskFactory.getDisk(round);
     this.AddAction(Disk, EmitDisk, this);
     Disk.GetComponent <DiskControl>().action = EmitDisk;
 }
Пример #2
0
    public static PhysicsEmit GetSSAction()
    {
        PhysicsEmit action = ScriptableObject.CreateInstance <PhysicsEmit>();

        return(action);
    }