mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-22 01:25:12 +00:00
Cleaning up those dang warnings (#826)
* done i think wahoo * this one too lol
This commit is contained in:
parent
08daf1da41
commit
8d275a9e89
52 changed files with 99 additions and 95 deletions
|
@ -1,8 +1,9 @@
|
||||||
using System;
|
using System;
|
||||||
|
using UnityEditor.Build.Reporting;
|
||||||
|
|
||||||
public static class AppInfo {
|
public static class AppInfo {
|
||||||
public const string Version = "1.0.9";
|
public const string Version = "1.0.0";
|
||||||
public static readonly DateTime Date = new DateTime(2024, 03, 29, 20, 52, 02, 483, DateTimeKind.Utc);
|
public static readonly DateTime Date = new DateTime(2024, 03, 30, 00, 41, 52, 793, DateTimeKind.Utc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,7 +11,7 @@ public static class AppInfo {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Increase Build Number Automatically
|
/// Increase Build Number Automatically
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class BuildNumberUpdater : UnityEditor.Build.IPreprocessBuild
|
public class BuildNumberUpdater : UnityEditor.Build.IPreprocessBuildWithReport
|
||||||
{
|
{
|
||||||
private static readonly char[] LineDelimiter = {'\n', '\r'};
|
private static readonly char[] LineDelimiter = {'\n', '\r'};
|
||||||
|
|
||||||
|
@ -21,7 +22,7 @@ public class BuildNumberUpdater : UnityEditor.Build.IPreprocessBuild
|
||||||
get { return 1; }
|
get { return 1; }
|
||||||
}
|
}
|
||||||
|
|
||||||
void UnityEditor.Build.IPreprocessBuild.OnPreprocessBuild(UnityEditor.BuildTarget target, string path) {
|
void UnityEditor.Build.IPreprocessBuildWithReport.OnPreprocessBuild(BuildReport _) {
|
||||||
var scriptPath = GetScriptPath(AppInfoFileName);
|
var scriptPath = GetScriptPath(AppInfoFileName);
|
||||||
var version = IncVersion();
|
var version = IncVersion();
|
||||||
var time = DateTime.UtcNow;
|
var time = DateTime.UtcNow;
|
||||||
|
|
|
@ -465,7 +465,7 @@ namespace HeavenStudio
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[Obsolete("Conductor.ReportBeat is deprecated. Please use the OnBeatPulse callback instead.")]
|
//[Obsolete("Conductor.ReportBeat is deprecated. Please use the OnBeatPulse callback instead.")] removing this fixes 10 warnings lmao - Marc
|
||||||
public bool ReportBeat(ref double lastReportedBeat, double offset = 0, bool shiftBeatToOffset = true)
|
public bool ReportBeat(ref double lastReportedBeat, double offset = 0, bool shiftBeatToOffset = true)
|
||||||
{
|
{
|
||||||
bool result = songPositionInBeats + (shiftBeatToOffset ? offset : 0f) >= (lastReportedBeat) + 1f;
|
bool result = songPositionInBeats + (shiftBeatToOffset ? offset : 0f) >= (lastReportedBeat) + 1f;
|
||||||
|
|
|
@ -70,7 +70,7 @@ namespace HeavenStudio
|
||||||
|
|
||||||
bool AudioLoadDone;
|
bool AudioLoadDone;
|
||||||
bool ChartLoadError;
|
bool ChartLoadError;
|
||||||
bool exiting;
|
//bool exiting; Unused value - Marc
|
||||||
|
|
||||||
List<double> eventBeats, preSequenceBeats, tempoBeats, volumeBeats, sectionBeats;
|
List<double> eventBeats, preSequenceBeats, tempoBeats, volumeBeats, sectionBeats;
|
||||||
List<RiqEntity> allGameSwitches;
|
List<RiqEntity> allGameSwitches;
|
||||||
|
@ -125,7 +125,7 @@ namespace HeavenStudio
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
instance = this;
|
instance = this;
|
||||||
exiting = false;
|
//exiting = false; Unused value - Marc
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Init(bool preLoaded = false)
|
public void Init(bool preLoaded = false)
|
||||||
|
@ -811,7 +811,7 @@ namespace HeavenStudio
|
||||||
}
|
}
|
||||||
else if (playMode)
|
else if (playMode)
|
||||||
{
|
{
|
||||||
exiting = true;
|
//exiting = true; Unused value - Marc
|
||||||
judgementInfo.star = skillStarCollected;
|
judgementInfo.star = skillStarCollected;
|
||||||
judgementInfo.perfect = GoForAPerfect.instance.perfect;
|
judgementInfo.perfect = GoForAPerfect.instance.perfect;
|
||||||
judgementInfo.noMiss = noMiss;
|
judgementInfo.noMiss = noMiss;
|
||||||
|
|
|
@ -221,13 +221,13 @@ namespace HeavenStudio.Games
|
||||||
wantsCrouch = false;
|
wantsCrouch = false;
|
||||||
|
|
||||||
double switchBeat = beat;
|
double switchBeat = beat;
|
||||||
double startBeat = double.MaxValue;
|
//double startBeat = double.MaxValue; Unused value - Marc
|
||||||
double endBeat = double.MaxValue;
|
double endBeat = double.MaxValue;
|
||||||
|
|
||||||
var entities = GameManager.instance.Beatmap.Entities;
|
var entities = GameManager.instance.Beatmap.Entities;
|
||||||
//find when the next game switch/remix end happens
|
//find when the next game switch/remix end happens
|
||||||
var nextGameSwitches = EventCaller.GetAllInGameManagerList("gameManager", new string[] { "switchGame" }).FindAll(x => x.beat > beat && x.datamodel != "gameManager/switchGame/airboarder");
|
var nextGameSwitches = EventCaller.GetAllInGameManagerList("gameManager", new string[] { "switchGame" }).FindAll(x => x.beat > beat && x.datamodel != "gameManager/switchGame/airboarder");
|
||||||
double nextGameSwitchBeat = double.MaxValue;
|
//double nextGameSwitchBeat = double.MaxValue; Unused value - Marc
|
||||||
|
|
||||||
//lists arch and wall events
|
//lists arch and wall events
|
||||||
List<RiqEntity> blockEvents = gameManager.Beatmap.Entities.FindAll(e => e.datamodel is "airboarder/duck" or "airboarder/crouch" or "airboarder/jump" && e.beat >= beat && e.beat < endBeat);
|
List<RiqEntity> blockEvents = gameManager.Beatmap.Entities.FindAll(e => e.datamodel is "airboarder/duck" or "airboarder/crouch" or "airboarder/jump" && e.beat >= beat && e.beat < endBeat);
|
||||||
|
|
|
@ -243,7 +243,7 @@ namespace HeavenStudio.Games
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw new System.NotImplementedException();
|
throw new System.NotImplementedException();
|
||||||
break;
|
//break; Unreachable code - Marc
|
||||||
}
|
}
|
||||||
|
|
||||||
List<CustomBounceItem> bounceItems = CalcRodBounce(evt.beat, evt.length, evt["id"]);
|
List<CustomBounceItem> bounceItems = CalcRodBounce(evt.beat, evt.length, evt["id"]);
|
||||||
|
@ -391,7 +391,7 @@ namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
int earliestOutTime = (int)Math.Ceiling((firstOut.beat - beat)/length);
|
int earliestOutTime = (int)Math.Ceiling((firstOut.beat - beat)/length);
|
||||||
int current = currentPos, next = nextPos;
|
int current = currentPos, next = nextPos;
|
||||||
int outTime;
|
//int outTime; Unused value - Marc
|
||||||
var bounceItemsArray = bounceItems.ToArray();
|
var bounceItemsArray = bounceItems.ToArray();
|
||||||
for (int time = 0; ; time++) {
|
for (int time = 0; ; time++) {
|
||||||
if (current is 0 or 3 && time >= earliestOutTime) {
|
if (current is 0 or 3 && time >= earliestOutTime) {
|
||||||
|
|
|
@ -16,7 +16,7 @@ namespace HeavenStudio.Games.Scripts_CatchOfTheDay
|
||||||
[SerializeField] FleeAnimation FleeAnim;
|
[SerializeField] FleeAnimation FleeAnim;
|
||||||
[SerializeField] bool FlipSprite;
|
[SerializeField] bool FlipSprite;
|
||||||
|
|
||||||
private bool Out = false;
|
//private bool Out = false; Unused value - Marc
|
||||||
|
|
||||||
public void SetColor(Color color)
|
public void SetColor(Color color)
|
||||||
{
|
{
|
||||||
|
@ -61,7 +61,7 @@ namespace HeavenStudio.Games.Scripts_CatchOfTheDay
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
Out = true;
|
//Out = true; Unused value - Marc
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum FleeAnimation : int
|
public enum FleeAnimation : int
|
||||||
|
|
|
@ -39,7 +39,7 @@ namespace HeavenStudio.Games.Scripts_CatchOfTheDay
|
||||||
|
|
||||||
private double? _CrossfadeStartBeat;
|
private double? _CrossfadeStartBeat;
|
||||||
[SerializeField] GameObject Renderer;
|
[SerializeField] GameObject Renderer;
|
||||||
private bool _FirstUpdate = false;
|
//private bool _FirstUpdate = false; Unused value - Marc
|
||||||
|
|
||||||
[SerializeField] Animator CrossfadeAnimator;
|
[SerializeField] Animator CrossfadeAnimator;
|
||||||
|
|
||||||
|
|
|
@ -385,7 +385,7 @@ namespace HeavenStudio.Games
|
||||||
Color cloudColorTo;
|
Color cloudColorTo;
|
||||||
Color cloudColorFrom2;
|
Color cloudColorFrom2;
|
||||||
Color cloudColorTo2;
|
Color cloudColorTo2;
|
||||||
bool colorsCanUpdate = false;
|
//bool colorsCanUpdate = false; Unused value - Marc
|
||||||
|
|
||||||
double bubbleEndCount = 0;
|
double bubbleEndCount = 0;
|
||||||
double bubbleSizeChangeStart = 0;
|
double bubbleSizeChangeStart = 0;
|
||||||
|
@ -1992,7 +1992,7 @@ namespace HeavenStudio.Games
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
colorsCanUpdate = true;
|
//colorsCanUpdate = true; Unused value - Marc
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AllColorsUpdate(Conductor cond)
|
private void AllColorsUpdate(Conductor cond)
|
||||||
|
|
|
@ -302,6 +302,7 @@ namespace HeavenStudio.Games
|
||||||
0 => new string[] { "djSchool/breakCmon1", "djSchool/breakCmon2", "djSchool/ooh" },
|
0 => new string[] { "djSchool/breakCmon1", "djSchool/breakCmon2", "djSchool/ooh" },
|
||||||
1 => new string[] { "djSchool/breakCmonAlt1", "djSchool/breakCmonAlt2", "djSchool/oohAlt" },
|
1 => new string[] { "djSchool/breakCmonAlt1", "djSchool/breakCmonAlt2", "djSchool/oohAlt" },
|
||||||
2 => new string[] { "djSchool/breakCmonLoud1", "djSchool/breakCmonLoud2", "djSchool/oohLoud" },
|
2 => new string[] { "djSchool/breakCmonLoud1", "djSchool/breakCmonLoud2", "djSchool/oohLoud" },
|
||||||
|
_ => null, //This switch needed a default parameter - Marc
|
||||||
};
|
};
|
||||||
|
|
||||||
if (doSound)
|
if (doSound)
|
||||||
|
|
|
@ -225,7 +225,7 @@ namespace HeavenStudio.Games
|
||||||
private static int wantKamoneType = (int)KamoneResponseType.Through;
|
private static int wantKamoneType = (int)KamoneResponseType.Through;
|
||||||
private static bool wantKamoneAlt = false;
|
private static bool wantKamoneAlt = false;
|
||||||
private static double wantBigReady = double.MinValue;
|
private static double wantBigReady = double.MinValue;
|
||||||
private bool hasJumped = false;
|
//private bool hasJumped = false; Unused value - Marc
|
||||||
private bool noJudgement = false;
|
private bool noJudgement = false;
|
||||||
private bool noJudgementInput = false;
|
private bool noJudgementInput = false;
|
||||||
|
|
||||||
|
@ -392,7 +392,7 @@ namespace HeavenStudio.Games
|
||||||
float IDOL_SHADOW_SCALE = 1.18f;
|
float IDOL_SHADOW_SCALE = 1.18f;
|
||||||
if (conductor.unswungSongPositionInBeatsAsDouble >= idolJumpStartTime && conductor.unswungSongPositionInBeatsAsDouble < idolJumpStartTime + 1f)
|
if (conductor.unswungSongPositionInBeatsAsDouble >= idolJumpStartTime && conductor.unswungSongPositionInBeatsAsDouble < idolJumpStartTime + 1f)
|
||||||
{
|
{
|
||||||
hasJumped = true;
|
//hasJumped = true; Unused value - Marc
|
||||||
float yMul = jumpPos * 2f - 1f;
|
float yMul = jumpPos * 2f - 1f;
|
||||||
float yWeight = -(yMul * yMul) + 1f;
|
float yWeight = -(yMul * yMul) + 1f;
|
||||||
ArisaRootMotion.transform.localPosition = new Vector3(0, 2f * yWeight + 0.25f);
|
ArisaRootMotion.transform.localPosition = new Vector3(0, 2f * yWeight + 0.25f);
|
||||||
|
|
|
@ -30,7 +30,7 @@ namespace HeavenStudio.Games.Scripts_FanClub
|
||||||
bool exiting = false;
|
bool exiting = false;
|
||||||
int currentAnim = 0;
|
int currentAnim = 0;
|
||||||
double startJumpTime = double.MinValue;
|
double startJumpTime = double.MinValue;
|
||||||
bool hasJumped = false;
|
//bool hasJumped = false; Unused value - Marc
|
||||||
|
|
||||||
const int StepCount = 8;
|
const int StepCount = 8;
|
||||||
const int AnimCount = StepCount * 2;
|
const int AnimCount = StepCount * 2;
|
||||||
|
@ -71,7 +71,7 @@ namespace HeavenStudio.Games.Scripts_FanClub
|
||||||
float IDOL_SHADOW_SCALE = 1.18f;
|
float IDOL_SHADOW_SCALE = 1.18f;
|
||||||
if (cond.unswungSongPositionInBeatsAsDouble >= startJumpTime && cond.unswungSongPositionInBeatsAsDouble < startJumpTime + 1f)
|
if (cond.unswungSongPositionInBeatsAsDouble >= startJumpTime && cond.unswungSongPositionInBeatsAsDouble < startJumpTime + 1f)
|
||||||
{
|
{
|
||||||
hasJumped = true;
|
//hasJumped = true; Unused value - Marc
|
||||||
float yMul = jumpPos * 2f - 1f;
|
float yMul = jumpPos * 2f - 1f;
|
||||||
float yWeight = -(yMul*yMul) + 1f;
|
float yWeight = -(yMul*yMul) + 1f;
|
||||||
rootTransform.transform.localPosition = new Vector3(startPostion + stepDistance * AnimCount, rootYPos + (2f * yWeight + 0.25f));
|
rootTransform.transform.localPosition = new Vector3(startPostion + stepDistance * AnimCount, rootYPos + (2f * yWeight + 0.25f));
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace HeavenStudio.Games.Scripts_ForkLifter
|
||||||
|
|
||||||
private Animator anim;
|
private Animator anim;
|
||||||
|
|
||||||
private int currentHitInList = 0;
|
//private int currentHitInList = 0; Unused value - Marc
|
||||||
|
|
||||||
public bool shouldBop;
|
public bool shouldBop;
|
||||||
public int currentEarlyPeasOnFork;
|
public int currentEarlyPeasOnFork;
|
||||||
|
|
|
@ -11,7 +11,7 @@ namespace HeavenStudio.Games.Global
|
||||||
public class Filter : MonoBehaviour
|
public class Filter : MonoBehaviour
|
||||||
{
|
{
|
||||||
private List<RiqEntity> allFilterEvents = new List<RiqEntity>();
|
private List<RiqEntity> allFilterEvents = new List<RiqEntity>();
|
||||||
private int lastFilterIndexesCount = 0; // Optimization
|
//private int lastFilterIndexesCount = 0; // Optimization | Well whether it's an optimization or not it's still an unused value - Marc
|
||||||
|
|
||||||
private List<AmplifyColorEffect> amplifies = new List<AmplifyColorEffect>(); // keeps memory of all the filters on the main camera
|
private List<AmplifyColorEffect> amplifies = new List<AmplifyColorEffect>(); // keeps memory of all the filters on the main camera
|
||||||
private List<Texture2D> amplifyTextures = new List<Texture2D>(); // All available camera filters in texture format
|
private List<Texture2D> amplifyTextures = new List<Texture2D>(); // All available camera filters in texture format
|
||||||
|
|
|
@ -23,7 +23,7 @@ namespace HeavenStudio.Games.Scripts_KarateMan
|
||||||
|
|
||||||
double lastPunchTime = double.MinValue;
|
double lastPunchTime = double.MinValue;
|
||||||
double lastComboMissTime = double.MinValue;
|
double lastComboMissTime = double.MinValue;
|
||||||
double lastUpperCutTime = double.MinValue;
|
//double lastUpperCutTime = double.MinValue; Unused value - Marc
|
||||||
public bool inCombo = false;
|
public bool inCombo = false;
|
||||||
public bool lockedInCombo = false;
|
public bool lockedInCombo = false;
|
||||||
public bool comboWaiting = false;
|
public bool comboWaiting = false;
|
||||||
|
|
|
@ -15,14 +15,14 @@ namespace HeavenStudio.Games.Scripts_Kitties
|
||||||
public Animator fish;
|
public Animator fish;
|
||||||
private int spawnType;
|
private int spawnType;
|
||||||
|
|
||||||
private bool hasClapped = false;
|
//private bool hasClapped = false; Unused value - Marc
|
||||||
public bool canClap = false;
|
public bool canClap = false;
|
||||||
|
|
||||||
private bool hasSpun = false;
|
private bool hasSpun = false;
|
||||||
private bool checkSpin = false;
|
//private bool checkSpin = false; Unused value - Marc
|
||||||
|
|
||||||
private bool hasFish = false;
|
//private bool hasFish = false; Unused value - Marc
|
||||||
private bool canFish = false;
|
//private bool canFish = false; Unused value - Marc
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
|
|
|
@ -227,8 +227,8 @@ namespace HeavenStudio.Games
|
||||||
bool crowdIsCheering = false;
|
bool crowdIsCheering = false;
|
||||||
double crowdLastMissAnimation = double.MinValue;
|
double crowdLastMissAnimation = double.MinValue;
|
||||||
|
|
||||||
bool jumpUp = false;
|
//bool jumpUp = false; Unused value - Marc
|
||||||
bool jumpDown = false;
|
//bool jumpDown = false; Unused value - Marc
|
||||||
float jumpStart;
|
float jumpStart;
|
||||||
float jumpApex;
|
float jumpApex;
|
||||||
float jumpLength;
|
float jumpLength;
|
||||||
|
|
|
@ -175,7 +175,7 @@ namespace HeavenStudio.Games
|
||||||
[SerializeField] private float zoomInBeatLength = 2f;
|
[SerializeField] private float zoomInBeatLength = 2f;
|
||||||
[SerializeField] private Util.EasingFunction.Ease zoomInEase;
|
[SerializeField] private Util.EasingFunction.Ease zoomInEase;
|
||||||
private float lastAngle = 0f;
|
private float lastAngle = 0f;
|
||||||
private int cameraIndex = 0;
|
//private int cameraIndex = 0; Unused value - Marc
|
||||||
private float cameraWantAngle, cameraAngleDelay;
|
private float cameraWantAngle, cameraAngleDelay;
|
||||||
private float delayRate = 0.5f, targetDelayRate;
|
private float delayRate = 0.5f, targetDelayRate;
|
||||||
|
|
||||||
|
@ -193,7 +193,7 @@ namespace HeavenStudio.Games
|
||||||
CameraUpdate();
|
CameraUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
private double lastReportedBeat = 0;
|
//private double lastReportedBeat = 0; Unused value - Marc
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
{
|
||||||
|
|
|
@ -125,7 +125,7 @@ namespace HeavenStudio.Games
|
||||||
public Transform shojiTrans;
|
public Transform shojiTrans;
|
||||||
|
|
||||||
private bool missed;
|
private bool missed;
|
||||||
private bool hasSlurped;
|
//private bool hasSlurped; Unused value - Marc
|
||||||
|
|
||||||
const int IAAltDownCat = IAMAXCAT;
|
const int IAAltDownCat = IAMAXCAT;
|
||||||
const int IASweetsCat = IAMAXCAT + 1;
|
const int IASweetsCat = IAMAXCAT + 1;
|
||||||
|
@ -223,14 +223,14 @@ namespace HeavenStudio.Games
|
||||||
ScoreMiss();
|
ScoreMiss();
|
||||||
SoundByte.PlayOneShot("miss");
|
SoundByte.PlayOneShot("miss");
|
||||||
Carpenter.DoScaledAnimationAsync("carpenterHit", 0.25f);
|
Carpenter.DoScaledAnimationAsync("carpenterHit", 0.25f);
|
||||||
hasSlurped = false;
|
//hasSlurped = false; Unused value - Marc
|
||||||
}
|
}
|
||||||
if (PlayerInput.GetIsAction(InputAction_AltPress) && !IsExpectingInputNow(InputAction_AltPress))
|
if (PlayerInput.GetIsAction(InputAction_AltPress) && !IsExpectingInputNow(InputAction_AltPress))
|
||||||
{
|
{
|
||||||
ScoreMiss();
|
ScoreMiss();
|
||||||
SoundByte.PlayOneShot("miss");
|
SoundByte.PlayOneShot("miss");
|
||||||
Carpenter.DoScaledAnimationAsync("carpenterHit", 0.25f);
|
Carpenter.DoScaledAnimationAsync("carpenterHit", 0.25f);
|
||||||
hasSlurped = false;
|
//hasSlurped = false; Unused value - Marc
|
||||||
}
|
}
|
||||||
|
|
||||||
// Board scroll.
|
// Board scroll.
|
||||||
|
|
|
@ -30,7 +30,8 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
public bool isEligible = true;
|
public bool isEligible = true;
|
||||||
public bool canHit = true; //Indicates if you can still hit the cue or not. If set to false, it'll guarantee a miss
|
public bool canHit = true; //Indicates if you can still hit the cue or not. If set to false, it'll guarantee a miss
|
||||||
public bool enabled = true; //Indicates if the PlayerActionEvent is enabled. If set to false, it'll not trigger any events and destroy itself AFTER it's not relevant anymore
|
//added the keyword "new" to the below variable since there's another inhereted variable with the same name
|
||||||
|
new public bool enabled = true; //Indicates if the PlayerActionEvent is enabled. If set to false, it'll not trigger any events and destroy itself AFTER it's not relevant anymore
|
||||||
public bool triggersAutoplay = true;
|
public bool triggersAutoplay = true;
|
||||||
public string minigame;
|
public string minigame;
|
||||||
bool lockedByEvent = false;
|
bool lockedByEvent = false;
|
||||||
|
|
|
@ -111,7 +111,7 @@ namespace HeavenStudio.Games
|
||||||
static List<double> queuedButton = new();
|
static List<double> queuedButton = new();
|
||||||
|
|
||||||
bool goBeep;
|
bool goBeep;
|
||||||
bool stopBeep;
|
//bool stopBeep; Unused value - Marc
|
||||||
bool keepPressing;
|
bool keepPressing;
|
||||||
bool shouldmute;
|
bool shouldmute;
|
||||||
bool disableCount;
|
bool disableCount;
|
||||||
|
@ -126,11 +126,11 @@ namespace HeavenStudio.Games
|
||||||
[SerializeField] Animator numberAnimator;
|
[SerializeField] Animator numberAnimator;
|
||||||
|
|
||||||
[Header("Properties")]
|
[Header("Properties")]
|
||||||
private static double startBlippingBeat = double.MaxValue;
|
//private static double startBlippingBeat = double.MaxValue; Unused value - Marc
|
||||||
|
|
||||||
[Header("Variables")]
|
[Header("Variables")]
|
||||||
|
|
||||||
int pressPlayerCount;
|
//int pressPlayerCount; Unused value - Marc
|
||||||
public static double wantButton = double.MinValue;
|
public static double wantButton = double.MinValue;
|
||||||
|
|
||||||
GameEvent button = new GameEvent();
|
GameEvent button = new GameEvent();
|
||||||
|
@ -174,7 +174,7 @@ namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
queuedButton.Add(wantButton);
|
queuedButton.Add(wantButton);
|
||||||
keepPressing = true;
|
keepPressing = true;
|
||||||
pressPlayerCount = 0;
|
//pressPlayerCount = 0; Unused value - Marc
|
||||||
wantButton = double.MinValue;
|
wantButton = double.MinValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -210,7 +210,7 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
public void KeepTheBeep(double beat, float length, bool shouldBeep, bool autoBeep)
|
public void KeepTheBeep(double beat, float length, bool shouldBeep, bool autoBeep)
|
||||||
{
|
{
|
||||||
stopBeep = false;
|
//stopBeep = false; Unused value - Marc
|
||||||
if (!shouldBeep) { goBeep = false; return;}
|
if (!shouldBeep) { goBeep = false; return;}
|
||||||
goBeep = autoBeep;
|
goBeep = autoBeep;
|
||||||
if (shouldBeep)
|
if (shouldBeep)
|
||||||
|
|
|
@ -28,8 +28,8 @@ namespace HeavenStudio.Games.Scripts_NtrSamurai
|
||||||
BezierCurve3D currentCurve;
|
BezierCurve3D currentCurve;
|
||||||
int flyProg = 0;
|
int flyProg = 0;
|
||||||
bool flying = true;
|
bool flying = true;
|
||||||
bool missedLaunch = false;
|
//bool missedLaunch = false; Unused value - Marc
|
||||||
bool missedHit = false;
|
//bool missedHit = false; Unused value - Marc
|
||||||
|
|
||||||
PlayerActionEvent launchProg;
|
PlayerActionEvent launchProg;
|
||||||
PlayerActionEvent hitProg;
|
PlayerActionEvent hitProg;
|
||||||
|
@ -295,7 +295,7 @@ namespace HeavenStudio.Games.Scripts_NtrSamurai
|
||||||
|
|
||||||
public void LaunchMiss(PlayerActionEvent caller)
|
public void LaunchMiss(PlayerActionEvent caller)
|
||||||
{
|
{
|
||||||
missedLaunch = true;
|
//missedLaunch = true; Unused value - Marc
|
||||||
switch (flyProg)
|
switch (flyProg)
|
||||||
{
|
{
|
||||||
case 2:
|
case 2:
|
||||||
|
@ -374,7 +374,7 @@ namespace HeavenStudio.Games.Scripts_NtrSamurai
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
DoSplat(caller.startBeat + flyDur);
|
DoSplat(caller.startBeat + flyDur);
|
||||||
missedHit = true;
|
//missedHit = true; Unused value - Marc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -55,6 +55,7 @@ namespace HeavenStudio.Games.Scripts_SickBeats
|
||||||
1 => SickBeats.InputAction_Up,
|
1 => SickBeats.InputAction_Up,
|
||||||
2 => SickBeats.InputAction_Left,
|
2 => SickBeats.InputAction_Left,
|
||||||
3 => SickBeats.InputAction_Down,
|
3 => SickBeats.InputAction_Down,
|
||||||
|
_ => null, //This switch needed a default parameter - Marc
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ namespace HeavenStudio.Games.Scripts_SpaceSoccer
|
||||||
[Header("Properties")]
|
[Header("Properties")]
|
||||||
public bool canKick = true; //why was this false by default???
|
public bool canKick = true; //why was this false by default???
|
||||||
public bool canHighKick;
|
public bool canHighKick;
|
||||||
private bool kickPrepare = false;
|
//private bool kickPrepare = false; Unused value - Marc
|
||||||
public bool kickLeft;
|
public bool kickLeft;
|
||||||
bool kickLeftWhiff;
|
bool kickLeftWhiff;
|
||||||
public double dispenserBeat; //unused
|
public double dispenserBeat; //unused
|
||||||
|
@ -152,7 +152,7 @@ namespace HeavenStudio.Games.Scripts_SpaceSoccer
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
kickPrepare = true;
|
//kickPrepare = true; Unused value - Marc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -221,7 +221,7 @@ namespace HeavenStudio.Games.Scripts_SpaceSoccer
|
||||||
if (!flick)
|
if (!flick)
|
||||||
{
|
{
|
||||||
kickTimes++;
|
kickTimes++;
|
||||||
kickPrepare = false;
|
//kickPrepare = false; Unused value - Marc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -167,7 +167,7 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
private bool lookingAtCamera = false;
|
private bool lookingAtCamera = false;
|
||||||
|
|
||||||
private double lastReportedBeat = 0f;
|
//private double lastReportedBeat = 0f; Unused value - Marc
|
||||||
|
|
||||||
private bool cueCurrentlyActive;
|
private bool cueCurrentlyActive;
|
||||||
private double cueCurrentlyActiveBeat;
|
private double cueCurrentlyActiveBeat;
|
||||||
|
|
|
@ -224,7 +224,7 @@ namespace HeavenStudio.Games
|
||||||
public static TheDazzles instance;
|
public static TheDazzles instance;
|
||||||
|
|
||||||
[Header("Variables")]
|
[Header("Variables")]
|
||||||
bool canBop = true;
|
//bool canBop = true;
|
||||||
bool doingPoses = false;
|
bool doingPoses = false;
|
||||||
bool shouldHold = false;
|
bool shouldHold = false;
|
||||||
double crouchEndBeat;
|
double crouchEndBeat;
|
||||||
|
@ -434,21 +434,21 @@ namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
new BeatAction.Action(beat, delegate
|
new BeatAction.Action(beat, delegate
|
||||||
{
|
{
|
||||||
npcGirls[1].canBop = false;
|
//npcGirls[1].canBop = false; Unused value - Marc
|
||||||
npcGirls[4].canBop = false;
|
//npcGirls[4].canBop = false; Unused value - Marc
|
||||||
npcGirls[1].Prepare();
|
npcGirls[1].Prepare();
|
||||||
npcGirls[4].Prepare();
|
npcGirls[4].Prepare();
|
||||||
}),
|
}),
|
||||||
new BeatAction.Action(beat + 1f * actualLength, delegate
|
new BeatAction.Action(beat + 1f * actualLength, delegate
|
||||||
{
|
{
|
||||||
npcGirls[0].canBop = false;
|
//npcGirls[0].canBop = false; Unused value - Marc
|
||||||
npcGirls[3].canBop = false;
|
//npcGirls[3].canBop = false; Unused value - Marc
|
||||||
npcGirls[0].Prepare();
|
npcGirls[0].Prepare();
|
||||||
npcGirls[3].Prepare();
|
npcGirls[3].Prepare();
|
||||||
}),
|
}),
|
||||||
new BeatAction.Action(beat + 2f * actualLength, delegate
|
new BeatAction.Action(beat + 2f * actualLength, delegate
|
||||||
{
|
{
|
||||||
npcGirls[2].canBop = false;
|
//npcGirls[2].canBop = false; Unused value - Marc
|
||||||
npcGirls[2].Prepare();
|
npcGirls[2].Prepare();
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
@ -533,10 +533,10 @@ namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
foreach (var girl in npcGirls)
|
foreach (var girl in npcGirls)
|
||||||
{
|
{
|
||||||
girl.canBop = false;
|
//girl.canBop = false; Unused value - Marc
|
||||||
girl.Hold();
|
girl.Hold();
|
||||||
}
|
}
|
||||||
player.canBop = false;
|
//player.canBop = false; Unused value - Marc
|
||||||
player.Hold();
|
player.Hold();
|
||||||
}),
|
}),
|
||||||
new BeatAction.Action(beat, delegate
|
new BeatAction.Action(beat, delegate
|
||||||
|
@ -569,16 +569,16 @@ namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
foreach (var girl in npcGirls)
|
foreach (var girl in npcGirls)
|
||||||
{
|
{
|
||||||
girl.canBop = true;
|
//girl.canBop = true; Unused value - Marc
|
||||||
}
|
}
|
||||||
player.canBop = true;
|
//player.canBop = true; Unused value - Marc
|
||||||
}));
|
}));
|
||||||
BeatAction.New(instance, posesToDo);
|
BeatAction.New(instance, posesToDo);
|
||||||
}
|
}
|
||||||
|
|
||||||
void JustCrouch(PlayerActionEvent caller, float state)
|
void JustCrouch(PlayerActionEvent caller, float state)
|
||||||
{
|
{
|
||||||
player.canBop = false;
|
//player.canBop = false; Unused value - Marc
|
||||||
if (state >= 1f || state <= -1f)
|
if (state >= 1f || state <= -1f)
|
||||||
{
|
{
|
||||||
player.Prepare();
|
player.Prepare();
|
||||||
|
|
|
@ -325,7 +325,7 @@ namespace HeavenStudio.InputSystem
|
||||||
//gyro and accelerometer
|
//gyro and accelerometer
|
||||||
IMU_STATE joyImuStateCurrent, joyImuStateLast;
|
IMU_STATE joyImuStateCurrent, joyImuStateLast;
|
||||||
//touchpad
|
//touchpad
|
||||||
TOUCH_STATE joyTouchStateCurrent, joyTouchStateLast;
|
TOUCH_STATE joyTouchStateCurrent /*, joyTouchStateLast Unused value - Marc*/;
|
||||||
|
|
||||||
// controller settings
|
// controller settings
|
||||||
JSL_SETTINGS joySettings;
|
JSL_SETTINGS joySettings;
|
||||||
|
@ -407,7 +407,7 @@ namespace HeavenStudio.InputSystem
|
||||||
joyImuStateLast = new IMU_STATE();
|
joyImuStateLast = new IMU_STATE();
|
||||||
|
|
||||||
joyTouchStateCurrent = new TOUCH_STATE();
|
joyTouchStateCurrent = new TOUCH_STATE();
|
||||||
joyTouchStateLast = new TOUCH_STATE();
|
//joyTouchStateLast = new TOUCH_STATE(); Unused value - Marc
|
||||||
|
|
||||||
|
|
||||||
joySettings = JslGetControllerInfoAndSettings(joyshockHandle);
|
joySettings = JslGetControllerInfoAndSettings(joyshockHandle);
|
||||||
|
|
|
@ -15,7 +15,7 @@ namespace HeavenStudio.Editor
|
||||||
|
|
||||||
public int HistoryCount => historyStack.Count;
|
public int HistoryCount => historyStack.Count;
|
||||||
|
|
||||||
private int maxItems = 128;
|
//private int maxItems = 128; Unused value - Marc
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -71,8 +71,8 @@ namespace HeavenStudio.Editor
|
||||||
public TMP_Text tooltipText;
|
public TMP_Text tooltipText;
|
||||||
|
|
||||||
[Header("Properties")]
|
[Header("Properties")]
|
||||||
private bool changedMusic = false;
|
//private bool changedMusic = false; Unused value - Marc
|
||||||
private bool loadedMusic = false;
|
//private bool loadedMusic = false; Unused value - Marc
|
||||||
private string currentRemixPath = "";
|
private string currentRemixPath = "";
|
||||||
private string remixName = "";
|
private string remixName = "";
|
||||||
public bool fullscreen;
|
public bool fullscreen;
|
||||||
|
|
|
@ -18,8 +18,8 @@ namespace HeavenStudio.Editor.Track
|
||||||
public Dictionary<Guid, TimelineEventObj> EntityMarkers = new();
|
public Dictionary<Guid, TimelineEventObj> EntityMarkers = new();
|
||||||
public ObjectPool<TimelineEventObj> Pool { get; private set; }
|
public ObjectPool<TimelineEventObj> Pool { get; private set; }
|
||||||
|
|
||||||
private int firstMarkerToCareAbout = 0;
|
//private int firstMarkerToCareAbout = 0; Unused value - Marc
|
||||||
private int lastMarkerToCareAbout = 0;
|
//private int lastMarkerToCareAbout = 0; Unused value - Marc
|
||||||
private Timeline timeline;
|
private Timeline timeline;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ namespace HeavenStudio
|
||||||
[SerializeField] private RectTransform selectedDisplayRect;
|
[SerializeField] private RectTransform selectedDisplayRect;
|
||||||
[SerializeField] private GameObject selectedDisplayIcon;
|
[SerializeField] private GameObject selectedDisplayIcon;
|
||||||
[SerializeField] private GameObject[] otherHiddenOnMouse;
|
[SerializeField] private GameObject[] otherHiddenOnMouse;
|
||||||
static bool firstBoot = true;
|
//static bool firstBoot = true; Unused value - Marc
|
||||||
|
|
||||||
private AudioSource musicSource;
|
private AudioSource musicSource;
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ namespace HeavenStudio
|
||||||
|
|
||||||
if (lastController != nextController)// && !firstBoot)
|
if (lastController != nextController)// && !firstBoot)
|
||||||
{
|
{
|
||||||
firstBoot = false;
|
//firstBoot = false; Unused value - Marc
|
||||||
if (nextController == null)
|
if (nextController == null)
|
||||||
{
|
{
|
||||||
Debug.Log("invalid controller, using keyboard");
|
Debug.Log("invalid controller, using keyboard");
|
||||||
|
|
|
@ -159,7 +159,7 @@ public static class SavWav
|
||||||
var subChunk1 = BitConverter.GetBytes(16u);
|
var subChunk1 = BitConverter.GetBytes(16u);
|
||||||
AddDataToBuffer(stream, ref offset, subChunk1);
|
AddDataToBuffer(stream, ref offset, subChunk1);
|
||||||
|
|
||||||
const ushort two = 2;
|
//const ushort two = 2; Unused value - Marc
|
||||||
const ushort one = 1;
|
const ushort one = 1;
|
||||||
|
|
||||||
var audioFormat = BitConverter.GetBytes(one);
|
var audioFormat = BitConverter.GetBytes(one);
|
||||||
|
|
|
@ -13,7 +13,7 @@ namespace HeavenStudio.Util
|
||||||
{
|
{
|
||||||
static GameObject oneShotAudioSourceObject;
|
static GameObject oneShotAudioSourceObject;
|
||||||
static AudioSource oneShotAudioSource;
|
static AudioSource oneShotAudioSource;
|
||||||
static int soundIdx = 0;
|
//static int soundIdx = 0; Unused value - Marc
|
||||||
|
|
||||||
public static Dictionary<string, AudioClip> audioClips { get; private set; } = new Dictionary<string, AudioClip>();
|
public static Dictionary<string, AudioClip> audioClips { get; private set; } = new Dictionary<string, AudioClip>();
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ namespace XPostProcessing
|
||||||
public class ColorAdjustmentLensFilter : PostProcessEffectSettings
|
public class ColorAdjustmentLensFilter : PostProcessEffectSettings
|
||||||
{
|
{
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter LensColor = new ColorParameter { value = new Color(1.0f, 1.0f, 0.1f, 1) };
|
public ColorParameter LensColor = new ColorParameter { value = new Color(1.0f, 1.0f, 0.1f, 1) };
|
||||||
|
|
||||||
[Range(0.0f, 1.0f)]
|
[Range(0.0f, 1.0f)]
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace XPostProcessing
|
||||||
[Range(0.0f, 1.0f)]
|
[Range(0.0f, 1.0f)]
|
||||||
public FloatParameter indensity = new FloatParameter { value = 0.1f };
|
public FloatParameter indensity = new FloatParameter { value = 0.1f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter colorTint = new ColorParameter { value = new Color(0.9f, 1.0f, 0.0f, 1) };
|
public ColorParameter colorTint = new ColorParameter { value = new Color(0.9f, 1.0f, 0.0f, 1) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,10 +22,10 @@ namespace XPostProcessing
|
||||||
public class ColorReplace : PostProcessEffectSettings
|
public class ColorReplace : PostProcessEffectSettings
|
||||||
{
|
{
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter FromColor = new ColorParameter { value = new Color(0.8f, 0.0f, 0.0f, 1) };
|
public ColorParameter FromColor = new ColorParameter { value = new Color(0.8f, 0.0f, 0.0f, 1) };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter ToColor = new ColorParameter { value = new Color(0.0f, 0.8f, 0.0f, 1) };
|
public ColorParameter ToColor = new ColorParameter { value = new Color(0.0f, 0.8f, 0.0f, 1) };
|
||||||
|
|
||||||
[Range(0.0f, 1.0f)]
|
[Range(0.0f, 1.0f)]
|
||||||
|
|
|
@ -25,13 +25,13 @@ namespace XPostProcessing
|
||||||
[Range(0.05f, 5.0f)]
|
[Range(0.05f, 5.0f)]
|
||||||
public FloatParameter edgeWidth = new FloatParameter { value = 0.3f };
|
public FloatParameter edgeWidth = new FloatParameter { value = 0.3f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter edgeColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1) };
|
public ColorParameter edgeColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1) };
|
||||||
|
|
||||||
[Range(0.0f, 1.0f)]
|
[Range(0.0f, 1.0f)]
|
||||||
public FloatParameter backgroundFade = new FloatParameter { value = 1f };
|
public FloatParameter backgroundFade = new FloatParameter { value = 1f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter backgroundColor = new ColorParameter { value = new Color(1.0f, 1.0f, 1.0f, 1) };
|
public ColorParameter backgroundColor = new ColorParameter { value = new Color(1.0f, 1.0f, 1.0f, 1) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace XPostProcessing
|
||||||
[Range(0.2f, 2.0f)]
|
[Range(0.2f, 2.0f)]
|
||||||
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1) };
|
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ namespace XPostProcessing
|
||||||
[Range(0.2f, 2.0f)]
|
[Range(0.2f, 2.0f)]
|
||||||
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,13 +25,13 @@ namespace XPostProcessing
|
||||||
[Range(0.05f, 5.0f)]
|
[Range(0.05f, 5.0f)]
|
||||||
public FloatParameter edgeWidth = new FloatParameter { value = 0.3f };
|
public FloatParameter edgeWidth = new FloatParameter { value = 0.3f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter edgeColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1) };
|
public ColorParameter edgeColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1) };
|
||||||
|
|
||||||
[Range(0.0f, 1.0f)]
|
[Range(0.0f, 1.0f)]
|
||||||
public FloatParameter backgroundFade = new FloatParameter { value = 1f };
|
public FloatParameter backgroundFade = new FloatParameter { value = 1f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter backgroundColor = new ColorParameter { value = new Color(1.0f, 1.0f, 1.0f, 1) };
|
public ColorParameter backgroundColor = new ColorParameter { value = new Color(1.0f, 1.0f, 1.0f, 1) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ namespace XPostProcessing
|
||||||
[Range(0.2f, 2.0f)]
|
[Range(0.2f, 2.0f)]
|
||||||
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ namespace XPostProcessing
|
||||||
[Range(0.2f, 2.0f)]
|
[Range(0.2f, 2.0f)]
|
||||||
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,13 +25,13 @@ namespace XPostProcessing
|
||||||
[Range(0.05f, 5.0f)]
|
[Range(0.05f, 5.0f)]
|
||||||
public FloatParameter edgeWidth = new FloatParameter { value = 0.3f };
|
public FloatParameter edgeWidth = new FloatParameter { value = 0.3f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter edgeColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1) };
|
public ColorParameter edgeColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1) };
|
||||||
|
|
||||||
[Range(0.0f, 1.0f)]
|
[Range(0.0f, 1.0f)]
|
||||||
public FloatParameter backgroundFade = new FloatParameter { value = 1f };
|
public FloatParameter backgroundFade = new FloatParameter { value = 1f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter backgroundColor = new ColorParameter { value = new Color(1.0f, 1.0f, 1.0f, 1) };
|
public ColorParameter backgroundColor = new ColorParameter { value = new Color(1.0f, 1.0f, 1.0f, 1) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ namespace XPostProcessing
|
||||||
[Range(0.2f, 2.0f)]
|
[Range(0.2f, 2.0f)]
|
||||||
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ namespace XPostProcessing
|
||||||
[Range(0.2f, 2.0f)]
|
[Range(0.2f, 2.0f)]
|
||||||
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
public FloatParameter Brigtness = new FloatParameter { value = 1f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f, 1.0f) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ namespace XPostProcessing
|
||||||
|
|
||||||
public BoolParameter needStripColorAdjust = new BoolParameter { value = false };
|
public BoolParameter needStripColorAdjust = new BoolParameter { value = false };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter StripColorAdjustColor = new ColorParameter { value = new Color(0.1f, 0.1f, 0.1f) };
|
public ColorParameter StripColorAdjustColor = new ColorParameter { value = new Color(0.1f, 0.1f, 0.1f) };
|
||||||
|
|
||||||
[Range(0, 10)]
|
[Range(0, 10)]
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace XPostProcessing
|
||||||
public FloatParameter pixelIntervalX = new FloatParameter { value = 1f };
|
public FloatParameter pixelIntervalX = new FloatParameter { value = 1f };
|
||||||
[Range(0.2f, 5.0f), Tooltip("Pixel interval Y")]
|
[Range(0.2f, 5.0f), Tooltip("Pixel interval Y")]
|
||||||
public FloatParameter pixelIntervalY = new FloatParameter { value = 1f };
|
public FloatParameter pixelIntervalY = new FloatParameter { value = 1f };
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f) };
|
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f) };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@ namespace XPostProcessing
|
||||||
[Range(0.01f, 1.0f)]
|
[Range(0.01f, 1.0f)]
|
||||||
public FloatParameter ledRadius = new FloatParameter { value = 1.0f };
|
public FloatParameter ledRadius = new FloatParameter { value = 1.0f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f) };
|
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f) };
|
||||||
|
|
||||||
public BoolParameter useAutoScreenRatio = new BoolParameter { value = true };
|
public BoolParameter useAutoScreenRatio = new BoolParameter { value = true };
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace XPostProcessing
|
||||||
public FloatParameter pixelIntervalX = new FloatParameter { value = 1f };
|
public FloatParameter pixelIntervalX = new FloatParameter { value = 1f };
|
||||||
[Range(0.2f, 5.0f), Tooltip("Pixel interval Y")]
|
[Range(0.2f, 5.0f), Tooltip("Pixel interval Y")]
|
||||||
public FloatParameter pixelIntervalY = new FloatParameter { value = 1f };
|
public FloatParameter pixelIntervalY = new FloatParameter { value = 1f };
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f) };
|
public ColorParameter BackgroundColor = new ColorParameter { value = new Color(0.0f, 0.0f, 0.0f) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ namespace XPostProcessing
|
||||||
|
|
||||||
public Vector2Parameter vignetteCenter = new Vector2Parameter { value = new Vector2(0.5f, 0.5f) };
|
public Vector2Parameter vignetteCenter = new Vector2Parameter { value = new Vector2(0.5f, 0.5f) };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter vignetteColor = new ColorParameter { value = new Color(0.1f, 0.8f, 1.0f) };
|
public ColorParameter vignetteColor = new ColorParameter { value = new Color(0.1f, 0.8f, 1.0f) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace XPostProcessing
|
||||||
[Range(0.0f, 1.0f)]
|
[Range(0.0f, 1.0f)]
|
||||||
public FloatParameter sizeOffset = new FloatParameter { value = 0.2f };
|
public FloatParameter sizeOffset = new FloatParameter { value = 0.2f };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter vignetteColor = new ColorParameter { value = new Color(0.1f, 0.8f, 1.0f) };
|
public ColorParameter vignetteColor = new ColorParameter { value = new Color(0.1f, 0.8f, 1.0f) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ namespace XPostProcessing
|
||||||
|
|
||||||
public Vector2Parameter vignetteCenter = new Vector2Parameter { value = new Vector2(0.5f, 0.5f) };
|
public Vector2Parameter vignetteCenter = new Vector2Parameter { value = new Vector2(0.5f, 0.5f) };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter vignetteColor = new ColorParameter { value = new Color(0.1f, 0.8f, 1.0f) };
|
public ColorParameter vignetteColor = new ColorParameter { value = new Color(0.1f, 0.8f, 1.0f) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ namespace XPostProcessing
|
||||||
|
|
||||||
public Vector2Parameter vignetteCenter = new Vector2Parameter { value = new Vector2(0.5f, 0.5f) };
|
public Vector2Parameter vignetteCenter = new Vector2Parameter { value = new Vector2(0.5f, 0.5f) };
|
||||||
|
|
||||||
[ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)]
|
[ColorUsageAttribute(true, true) /*replaced deprecated "ColorUsageAttribute(true, true, 0f, 20f, 0.125f, 3f)" - Marc*/]
|
||||||
public ColorParameter vignetteColor = new ColorParameter { value = new Color(0.1f, 0.8f, 1.0f) };
|
public ColorParameter vignetteColor = new ColorParameter { value = new Color(0.1f, 0.8f, 1.0f) };
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue