🎮 Unity Study/C#

[C#] Generic, Template

ibelieveinme 2023. 8. 21. 00:25
728x90
public abstract class SceneManager<T> where T : Enum {
}

Where 로 T 의 타입을 한정할 수도 있음

728x90