Skip to content

Releases: E4-Unity/com.eu4ng.manager.singleton

Release list

v0.2.0

Choose a tag to compare

@Eu4ng Eu4ng released this 03 Apr 14:49
11c5ed2

주요 기능

  • GameSubsystem: Global Prefab에 따로 등록할 필요 없이 자동으로 생성되는 클래스
  • DeveloperSettingsEditor: Tools 메뉴를 통해 수동으로 DeveloperSettings 생성 가능

v0.1.0

Choose a tag to compare

@Eu4ng Eu4ng released this 16 Mar 10:50

주요 기능

  • Singleton: 제네릭 싱글톤 클래스
  • MonoSingleton: MonoBehaviour를 상속받은 제네릭 싱글톤 클래스
  • DeveloperSettings: 제네릭 싱글톤 스크립터블 오브젝트
  • SingletonManager: 어느 씬에서 시작하더라도 SingletonManagerSettings에 등록된 프리팹들을 씬에 존재하는 어떤 오브젝트들보다 가장 먼저 생성합니다.

Project Settings

  • Edit > ProjectSettings > SingletonManager
  • Resources/DeveloperSettings/SingletonManagerSettings.asset

image

로그 활성화 방법

  • ProjectSettings > Player > Script Compilation > Scripting Define Symbols: LOG_SINGLETONMANAGER

image