unity scene name get
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GetSceneName : MonoBehavior {
Scene m_Scene;
string sceneName;
private void Start() {
m_Scene = SceneManager.GetActiveScene();
sceneName = m_Scene.name;
}
}
Also in C#:
- constructor in inherited class c#
- how to set progress openedge driver name for odbc connection c#
- how to turn a string in a char list c#
- c# webrequest cookies
- run async method parallel c#
- add spaces between words unity
- unity set list of strings
- asp.net core task iactionresult
- unity set material color
- string format comma c#
- unity access child
- make a list c#
- multidimensional meaning
- c# enum.getvalues
- how to find a transform unity
- c# return multiple value unity
- or symbol in unity
- unity separator in inspector
- c# round to closest multiple
- convert string to decimal c#
- isprime c#
- display none asp.net
- c# generic abstract method
- c# function