play mode info panel
This commit is contained in:
parent
dd071faa3d
commit
3a6727dcfa
File diff suppressed because it is too large
Load diff
|
|
@ -151,6 +151,8 @@ namespace HeavenStudio
|
||||||
Minigames.Minigame game;
|
Minigames.Minigame game;
|
||||||
Minigames.GameAction action;
|
Minigames.GameAction action;
|
||||||
System.Type type, pType;
|
System.Type type, pType;
|
||||||
|
if (EventCaller.instance != null)
|
||||||
|
{
|
||||||
foreach (var e in data.entities)
|
foreach (var e in data.entities)
|
||||||
{
|
{
|
||||||
var gameName = e.datamodel.Split(0);
|
var gameName = e.datamodel.Split(0);
|
||||||
|
|
@ -246,6 +248,7 @@ namespace HeavenStudio
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
foreach (var tempo in data.tempoChanges)
|
foreach (var tempo in data.tempoChanges)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,11 @@ namespace HeavenStudio
|
||||||
[SerializeField] private GameObject snsPanel;
|
[SerializeField] private GameObject snsPanel;
|
||||||
[SerializeField] private TMP_Text snsVersionText;
|
[SerializeField] private TMP_Text snsVersionText;
|
||||||
|
|
||||||
|
[SerializeField] private GameObject playPanel;
|
||||||
|
[SerializeField] private TMP_Text chartTitleText;
|
||||||
|
[SerializeField] private TMP_Text chartMapperText;
|
||||||
|
[SerializeField] private TMP_Text chartDescText;
|
||||||
|
|
||||||
private AudioSource musicSource;
|
private AudioSource musicSource;
|
||||||
|
|
||||||
private double songPosBeat;
|
private double songPosBeat;
|
||||||
|
|
@ -208,9 +213,13 @@ namespace HeavenStudio
|
||||||
RiqFileHandler.UnlockCache();
|
RiqFileHandler.UnlockCache();
|
||||||
string tmpDir = RiqFileHandler.ExtractRiq(path);
|
string tmpDir = RiqFileHandler.ExtractRiq(path);
|
||||||
Debug.Log("Imported RIQ successfully!");
|
Debug.Log("Imported RIQ successfully!");
|
||||||
|
RiqBeatmap beatmap = RiqFileHandler.ReadRiq();
|
||||||
GlobalGameManager.PlayOpenFile = path;
|
GlobalGameManager.PlayOpenFile = path;
|
||||||
SoundByte.PlayOneShot("ui/UIEnter");
|
chartTitleText.text = beatmap["remixtitle"];
|
||||||
GlobalGameManager.LoadScene("Game", 0.35f, 0.5f);
|
chartMapperText.text = beatmap["remixauthor"];
|
||||||
|
chartDescText.text = beatmap["remixdesc"];
|
||||||
|
|
||||||
|
playPanel.SetActive(true);
|
||||||
}
|
}
|
||||||
catch (System.Exception e)
|
catch (System.Exception e)
|
||||||
{
|
{
|
||||||
|
|
@ -222,6 +231,18 @@ namespace HeavenStudio
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void PlayPanelAccept()
|
||||||
|
{
|
||||||
|
SoundByte.PlayOneShot("ui/UIEnter");
|
||||||
|
GlobalGameManager.LoadScene("Game", 0.35f, 0.5f);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void PlayPanelBack()
|
||||||
|
{
|
||||||
|
SoundByte.PlayOneShot("ui/UICancel");
|
||||||
|
playPanel.SetActive(false);
|
||||||
|
}
|
||||||
|
|
||||||
public void SocialsPressed()
|
public void SocialsPressed()
|
||||||
{
|
{
|
||||||
snsRevealed = true;
|
snsRevealed = true;
|
||||||
|
|
|
||||||
|
|
@ -17,4 +17,7 @@ EditorBuildSettings:
|
||||||
- enabled: 1
|
- enabled: 1
|
||||||
path: Assets/Scenes/Game.unity
|
path: Assets/Scenes/Game.unity
|
||||||
guid: 2cda990e2423bbf4892e6590ba056729
|
guid: 2cda990e2423bbf4892e6590ba056729
|
||||||
|
- enabled: 1
|
||||||
|
path: Assets/Scenes/Judgement.unity
|
||||||
|
guid: 6284f8de74823fb4283c88febf8f4c98
|
||||||
m_configObjects: {}
|
m_configObjects: {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue