유니티 C# 프로그래밍형변환 / 객체지향프로그래밍public enum GameState { Menu, // 0 Playing, // 1 Paused, // 2 GameOver // 3 } void Start(){ // 1. 기본 명시적 형변환 GameState currentState = GameState.Playing; int stateValue = (int)currentState; Debug.Log($"GameState.Playing의 값: {stateValue}"); // 출력: 1 // 2. Convert.ToInt32() 사용 GameState menuState = Ga..