remove a bunch of prints
This commit is contained in:
parent
f79dc4544f
commit
7d2bb329df
|
|
@ -17,7 +17,6 @@ public class MemRenderer : MonoBehaviour
|
|||
|
||||
public void ChangeMem()
|
||||
{
|
||||
Debug.Log("ChangeMem");
|
||||
Destroy(_instance);
|
||||
_instance = Instantiate(prefabs[UnityEngine.Random.Range(0, prefabs.Length)], transform);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -464,7 +464,6 @@ namespace HeavenStudio
|
|||
double seekTime = eventCaller.GetGameAction(entityDatamodel[0], entityDatamodel[1]).preFunctionLength;
|
||||
if (entity.beat - seekTime == preSequenceBeats[currentPreSequence])
|
||||
{
|
||||
Debug.Log($"Calling pre-event for {entity.datamodel} at beat {entity.beat - seekTime} (prefunction length {seekTime})");
|
||||
entitiesInRange.Add(entity);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -159,7 +159,6 @@ namespace HeavenStudio.Games
|
|||
|
||||
if (stepsPassed > 1000)
|
||||
{
|
||||
Debug.Log("Loop broke!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -214,8 +214,6 @@ namespace HeavenStudio.Games.Scripts_CropStomp
|
|||
}
|
||||
gotStomped = true;
|
||||
|
||||
Debug.Log("Stomped!");
|
||||
|
||||
var cond = Conductor.instance;
|
||||
|
||||
ParticleSystem spawnedHit = Instantiate(game.hitParticle, game.hitParticle.transform.parent);
|
||||
|
|
|
|||
|
|
@ -345,8 +345,6 @@ namespace HeavenStudio.Games
|
|||
|
||||
public void LookAtDirection(int alienLookAt, int translatorLookAt)
|
||||
{
|
||||
Debug.Log(alienLookAt);
|
||||
Debug.Log(translatorLookAt);
|
||||
switch (alienLookAt)
|
||||
{
|
||||
case 0:
|
||||
|
|
|
|||
|
|
@ -153,7 +153,6 @@ namespace HeavenStudio.Games.Scripts_KarateMan
|
|||
{
|
||||
if (PlayerInput.CurrentControlStyle == InputController.ControlStyles.Touch)
|
||||
{
|
||||
Debug.Log("Touch charge");
|
||||
inTouchCharge = true;
|
||||
anim.DoScaledAnimationAsync("ManChargeOut", 0.5f);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1097,7 +1097,6 @@ namespace HeavenStudio.Games.Scripts_KarateMan
|
|||
public bool CanKick()
|
||||
{
|
||||
var joe = KarateMan.instance.Joe;
|
||||
Debug.Log(joe.inKick);
|
||||
return status == FlyStatus.Fly && joe.inKick;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -298,7 +298,7 @@ namespace HeavenStudio.Games
|
|||
}
|
||||
|
||||
if (CartGuyParentAnim.gameObject.activeSelf) {
|
||||
Debug.Log(cartPhone ? "PhoneBop" : "Bop");
|
||||
// Debug.Log(cartPhone ? "PhoneBop" : "Bop");
|
||||
if (cartPhone) {
|
||||
CartGuyAnim.DoScaledAnimationAsync("PhoneBop", 0.5f);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -377,7 +377,7 @@ namespace HeavenStudio.Games
|
|||
{
|
||||
if (pair.name == name)
|
||||
{
|
||||
Debug.Log($"Playing sound sequence {pair.name} at beat {startBeat}");
|
||||
// Debug.Log($"Playing sound sequence {pair.name} at beat {startBeat}");
|
||||
return pair.sequence.Play(startBeat);
|
||||
}
|
||||
}
|
||||
|
|
@ -446,7 +446,7 @@ namespace HeavenStudio.Games
|
|||
{
|
||||
if (bopRegion.ContainsKey(e.beat))
|
||||
{
|
||||
Debug.Log("Two bops on the same beat, ignoring this one");
|
||||
// Debug.Log("Two bops on the same beat, ignoring this one");
|
||||
continue;
|
||||
}
|
||||
if (isBool)
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ namespace HeavenStudio.Games.Scripts_Rockers
|
|||
float pitch = SoundByte.GetPitchFromSemiTones(pitches[i], true);
|
||||
float volume = GetVolumeBasedOnAmountOfStrings(pitches.Length);
|
||||
string soundName = "rockers/strings/" + (gleeClub ? "gleeClub/" : "normal/" + (i + 1));
|
||||
Debug.Log("Pitch: " + pitch + " Volume: " + volume + " Name: " + soundName);
|
||||
// Debug.Log("Pitch: " + pitch + " Volume: " + volume + " Name: " + soundName);
|
||||
stringSounds[i] = SoundByte.PlayOneShotGame(soundName, -1, pitch, volume, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -177,7 +177,6 @@ namespace HeavenStudio.Games.Scripts_NtrSamurai
|
|||
|
||||
default: // object initial spawn, flying towards board
|
||||
flyPos = cond.GetPositionFromBeat(launchProg.startBeat, 3f);
|
||||
Debug.Log(flyPos);
|
||||
transform.position = currentCurve.GetPoint(Mathf.Clamp01(flyPos));
|
||||
if (flyPos >= 1)
|
||||
transform.rotation = Quaternion.identity;
|
||||
|
|
|
|||
|
|
@ -285,7 +285,6 @@ namespace HeavenStudio.Games
|
|||
|
||||
private void GrabJumpEvents(double beat)
|
||||
{
|
||||
Debug.Log("Beat: " + beat);
|
||||
var jumpEvents = EventCaller.GetAllInGameManagerList("seeSaw", new string[] { "longLong", "longShort", "shortLong", "shortShort" });
|
||||
List<RiqEntity> tempEvents = new List<RiqEntity>();
|
||||
for (int i = 0; i < jumpEvents.Count; i++)
|
||||
|
|
|
|||
|
|
@ -302,14 +302,12 @@ namespace HeavenStudio.Games
|
|||
{
|
||||
if (hitBeats.Exists(x => x == offsetBeat - 0.5)) return;
|
||||
ScoreMiss();
|
||||
Debug.Log("Miss toe");
|
||||
}
|
||||
}
|
||||
else if (!IsExpectingInputNow(InputAction_BasicPress))
|
||||
{
|
||||
if (hitBeats.Exists(x => offsetBeat == x)) return;
|
||||
ScoreMiss();
|
||||
Debug.Log("Miss");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -298,7 +298,6 @@ namespace HeavenStudio.Games
|
|||
}
|
||||
if (isBig) hasBigBall = true;
|
||||
}
|
||||
Debug.Log(autoPassTurn);
|
||||
if (autoPassTurn)
|
||||
{
|
||||
PassTurn(beat + interval, interval, beat);
|
||||
|
|
|
|||
|
|
@ -338,7 +338,6 @@ namespace HeavenStudio.Editor.Track
|
|||
|
||||
public void CreateWaveform()
|
||||
{
|
||||
Debug.Log("what");
|
||||
// DrawWaveform();
|
||||
// StartCoroutine(DrawWaveformRealtime());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,11 @@ namespace HeavenStudio.Editor.Track
|
|||
Vector2 relativeMousePosition;
|
||||
|
||||
var cam = Editor.instance.EditorCamera;
|
||||
if (cam == null) Debug.LogError("Camera not set!");
|
||||
if (cam == null)
|
||||
{
|
||||
Debug.LogError("Camera not set!");
|
||||
return;
|
||||
}
|
||||
RectTransformUtility.ScreenPointToLocalPointInRectangle(rectTransform, Input.mousePosition, cam, out relativeMousePosition);
|
||||
|
||||
if (scrollDeltaY > 0)
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ namespace HeavenStudio.Editor
|
|||
public void OnClickCountUp()
|
||||
{
|
||||
SecretCounter++;
|
||||
Debug.Log("SecretCounter: " + SecretCounter);
|
||||
if (SecretCounter == 10 && Editor.instance != null)
|
||||
{
|
||||
secretObject.SetActive(true);
|
||||
|
|
@ -40,7 +39,6 @@ namespace HeavenStudio.Editor
|
|||
|
||||
SecretActive = true;
|
||||
SoundByte.PlayOneShot("applause");
|
||||
Debug.Log("Activating Studio Dance...");
|
||||
|
||||
if (Editor.instance == null)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ namespace HeavenStudio.Util
|
|||
{
|
||||
if (behaviour == null)
|
||||
{
|
||||
Debug.LogWarning("Starting a BeatAction with no assigned behaviour. The Conductor will be used instead.");
|
||||
behaviour = Conductor.instance;
|
||||
Debug.LogWarning("Starting a BeatAction with no assigned behaviour. The Game Manager will be used instead.");
|
||||
behaviour = GameManager.instance;
|
||||
}
|
||||
CancellationTokenSource cancelToken = new CancellationTokenSource();
|
||||
RunAsync(behaviour, actions, cancelToken.Token).Forget();
|
||||
|
|
|
|||
Loading…
Reference in a new issue