Spontini
Spontini
Explore posts from servers
VVALORANT
Created by Spontini on 1/29/2024 in #community-help
Stuck on pre match loading screen
No description
1 replies
VVALORANT
Created by Spontini on 1/26/2024 in #community-help
True Stretched Res
Can anyone help me to get True Stretched red on Valorant? I have tried everything in YouTube, It works but the moment I load into a match I get black bars on top and bottom of my screen. I can not fix it, does anyone know?
1 replies
CC#
Created by Spontini on 5/17/2023 in #help
❔ My Level Number keep returning as 0 (Unity)
Hello, I'm new at both Unity and coding. Here is my issue, Debug.Log(levelNu); keep returning as 0 even while I am at Scene 2, 3, 4. How can I fix this?
int levelNu;

void Update()
{
Debug.Log(levelNu);
}

public void LoadNextScene()
{
int currentSceneIndex = SceneManager.GetActiveScene().buildIndex;
int nextSceneIndex;
nextSceneIndex = ++currentSceneIndex;
if (currentSceneIndex == SceneManager.sceneCountInBuildSettings)
{
nextSceneIndex = 0;
}
SceneManager.LoadScene(nextSceneIndex);
levelNu = currentSceneIndex;
}
int levelNu;

void Update()
{
Debug.Log(levelNu);
}

public void LoadNextScene()
{
int currentSceneIndex = SceneManager.GetActiveScene().buildIndex;
int nextSceneIndex;
nextSceneIndex = ++currentSceneIndex;
if (currentSceneIndex == SceneManager.sceneCountInBuildSettings)
{
nextSceneIndex = 0;
}
SceneManager.LoadScene(nextSceneIndex);
levelNu = currentSceneIndex;
}
4 replies