일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Android Plugin
- 플러그인
- design pattern
- Reflection
- UniRx
- Addressable System
- 게임 개발
- ScriptableObject
- 디자인 패턴
- ==
- 스프라이트 아틀라스
- 최적화
- 포스트 프로세싱
- sprite atlas
- Unboxing
- c#
- Boxing
- equals
- Abstract Factory Pattern
- Zenject
- Post Processing
- addressable
- 인앱 결제
- 1인 개발
- Unity
- ReferenceEquals
- Strategy Pattern
Archives
- Today
- Total
목록design pattern (1)
One_KWS
커맨드 패턴(Command Pattern)
소개 커맨드 패턴을 이용하면 요구 사항을 객체로 캡슐화 할 수 있으며, 요청을 한 객체와 이 요청을 처리할 객체를 분리한다. 이를 통해, 요청을 수행하는 객체가 다양한 요청을 처리할 수 있으며, 실행 취소, 다시 실행과 같은 기능을 제공할 수 있다. Invoker Invoker는 명령 객체를 생성하고 실행될 메서드를 호출한다. 이 때, Command 인터페이스를 통해 ConcreteCommand 객체를 호출하기 때문에 실제 ConcreteCommand 객체의 타입을 알 필요가 없다. public class Invoker { private Command command; public void SetCommand(Command command) { this.command = command; } public vo..
디자인 패턴
2023. 4. 10. 13:46