mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:07:38 +02:00
Resource Optimization (#812)
* right foot creep * look around stay low * optimize the fan club prefab use anim layers for the monkeys * dansa med oss * klappa era hander * cossack sandvich * soldier of dance add speed halving / doubling functionality to choreographies * fix selection of starting dance * asset re-organization * organize the last of the 1.0 games * Wall * floating windows can no longer become larger than the actual screen
This commit is contained in:
@ -18,18 +18,20 @@ namespace HeavenStudio.StudioDance
|
||||
{
|
||||
windowBase.SetActive(true);
|
||||
content.SetActive(true);
|
||||
dancer.SetStartChoreography();
|
||||
|
||||
dropdown.ClearOptions();
|
||||
int startIdx = 0;
|
||||
int i = 0;
|
||||
foreach (ChoreographyInfo choreography in dancer.ChoreographyInfos)
|
||||
{
|
||||
dropdown.options.Add(new TMP_Dropdown.OptionData(choreography.choreographyName));
|
||||
if (choreography == dancer.CurrentChoreography)
|
||||
{
|
||||
dropdown.value = startIdx;
|
||||
dropdown.value = i;
|
||||
}
|
||||
startIdx++;
|
||||
i++;
|
||||
}
|
||||
dropdown.RefreshShownValue();
|
||||
}
|
||||
|
||||
public void CloseDanceWindow()
|
||||
|
Reference in New Issue
Block a user