Notice
Recent Posts
Recent Comments
Link
목록Singleton (1)
빙수달 게임 개발 노트
Singleton패턴을 사용한 Managers 생성
using System.Collections;using System.Collections.Generic;using UnityEngine;public class Managers : MonoBehaviour{ static Managers s_instance; // 유일성 보장 static Managers Instance { get { Init(); return s_instance; } } // 유일한 매니저를 갖고온다 InputManager _input = new InputManager(); ResourceManager _resource = new ResourceManager(); public static InputManager Input { get { retur..
Dev Log : Game/유니티(Unity)
2025. 6. 17. 20:05