unity scene name get

C#
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;
 	}
}
Source

Also in C#: