Skip to content

Commit f821395

Browse files
committed
я забыл загрузку другой сцены при завершении уровня
1 parent 3c9ca18 commit f821395

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

Source Code/M-Unity's Weird Website/Assembly-CSharp.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\TMP_TextEventHandler.cs" />
6565
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\EnvMapAnimator.cs" />
6666
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\TMP_TextSelector_A.cs" />
67+
<Compile Include="Assets\Scripts\Ready.cs" />
6768
<Compile Include="Assets\[5MBD]\Scripts\MainMenu.cs" />
6869
<Compile Include="Assets\TextMesh Pro\Examples &amp; Extras\Scripts\Benchmark02.cs" />
6970
<Compile Include="Assets\Scripts\Proverka.cs" />
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using UnityEngine;
2+
using UnityEngine.SceneManagement;
3+
4+
public class Ready : MonoBehaviour
5+
{
6+
[SerializeField] private int indexscene;
7+
public void LoadScene()
8+
{
9+
SceneManager.LoadScene(indexscene);
10+
}
11+
}

Source Code/M-Unity's Weird Website/Assets/Scripts/Ready.cs.meta

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)