修
This commit is contained in:
@@ -56,7 +56,7 @@ public class GameInputManager : MonoBehaviour
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
#if UNITY_STANDALONE
|
||||
#if UNITY_EDITOR || UNITY_STANDALONE
|
||||
DOTween.SetTweensCapacity(200, 200);
|
||||
gameInput = new GameInput();
|
||||
gameInput.Game.Enable();
|
||||
@@ -79,7 +79,7 @@ public class GameInputManager : MonoBehaviour
|
||||
}
|
||||
|
||||
// 使用预处理指令区分平台
|
||||
#if UNITY_STANDALONE
|
||||
#if UNITY_EDITOR || UNITY_STANDALONE
|
||||
HandleHolding();
|
||||
#else
|
||||
ProcessRealTouchInput();
|
||||
@@ -88,7 +88,7 @@ public class GameInputManager : MonoBehaviour
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
#if UNITY_STANDALONE
|
||||
#if UNITY_EDITOR || UNITY_STANDALONE
|
||||
|
||||
#else
|
||||
|
||||
@@ -128,7 +128,7 @@ public class GameInputManager : MonoBehaviour
|
||||
GameManager.instance.noteJudgeManager.SetNewInputUnitSwipe(id, position, isGeneric, isFirst, direction);
|
||||
}
|
||||
|
||||
#if UNITY_STANDALONE
|
||||
#if UNITY_EDITOR || UNITY_STANDALONE
|
||||
/// <summary>
|
||||
/// 【仅在编辑器中运行】处理鼠标输入并模拟触摸事件。
|
||||
/// </summary>
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Ichni.UI
|
||||
{
|
||||
public AudioContainer audioContainer;
|
||||
|
||||
public List<ParticleSystem> logoParticles;
|
||||
//public List<ParticleSystem> logoParticles;
|
||||
public ParticleSystem floatingParticles;
|
||||
|
||||
public GameObject peWarningWindow;
|
||||
@@ -31,7 +31,6 @@ namespace Ichni.UI
|
||||
peWarningSequence.AppendCallback(() =>
|
||||
{
|
||||
peWarningWindow.SetActive(false);
|
||||
logoParticles.ForEach(p => p.Play());
|
||||
floatingParticles.Play();
|
||||
});
|
||||
peWarningSequence.Play();
|
||||
@@ -42,10 +41,6 @@ namespace Ichni.UI
|
||||
audioContainer.PlaySoundFX("TouchToStart");
|
||||
|
||||
FadeOut();
|
||||
foreach (ParticleSystem particle in logoParticles)
|
||||
{
|
||||
particle.GetComponent<Renderer>().material.DOFloat(0f, "_MainAlpha", 0.5f).Play();
|
||||
}
|
||||
|
||||
floatingParticles.GetComponent<Renderer>().material.DOColor(Color.clear, "_BaseColor", 0.5f).Play();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user