public void playDisk(int round) { EmitDisk = PhysicsEmit.GetSSAction(); Disk = diskFactory.getDisk(round); this.AddAction(Disk, EmitDisk, this); Disk.GetComponent <DiskControl>().action = EmitDisk; }
public static PhysicsEmit GetSSAction() { PhysicsEmit action = ScriptableObject.CreateInstance <PhysicsEmit>(); return(action); }