This repository was archived by the owner on Jul 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
PresentationSystem
Syadeu edited this page Oct 21, 2021
·
9 revisions
Namespace: Syadeu.Presentation
File: PresentationSystem.cs
public struct PresentationSystem<T> : IValidation, IDisposable, IEquatable<PresentationSystem<T>> where T : PresentationSystemEntity등록한 프레젠테이션 시스템을 받아오기 위한 struct 입니다.
Implements: IValidation, IDisposable, IEquatable<PresentationSystem<T>>
- Presentation 시스템 외부에서 시스템을 쉽게 참조할 수 있습니다.
이 구조체로 시스템을 받아오려면 먼저 시스템을 선언하고, 그룹에 등록하여야 합니다. 시스템을 선언하는 방법은 PresentationSystemEntity<T> 를 참조하세요.
아래는 Presentation 시스템 외부에서 EntitySystem 을 참조하는 방법에 대해 설명합니다.
public void TestMethod()
{
// 기본 시스템 그룹에 속한 EntitySystem 은 게임이 시작하는 동시에 초기화됩니다.
// 하지만 확실하게 인스턴스가 생성되었는지 확인이 어려운
// UnityEngine.Monobehaviour.Awake() 메소드 등에서
// 호출이 이루어질때에는 목표 시스템의 인스턴스가 생성되어
// 정상적으로 작동 중인지를 체크해야됩니다.
if (!PresentationSystem<EntitySystem>.IsValid()) return;
// 목표 시스템의 인스턴스를 가져옵니다.
EntitySystem entitySystem = PresentationSystem<EntitySystem>.System;
}| Name | Description |
|---|---|
| Null | Null 값 입니다. |
| Name | Description |
|---|---|
| SystemGroup | 이 시스템의 그룹입니다. |
| System | 이 시스템의 인스턴스입니다. |
| Name | Description |
|---|---|
| IsValid() | 이 시스템의 인스턴스가 생성되었는지 (실행 중인지) 반환합니다. |
| GetAwaiter() | 이 시스템의 인스턴스가 생성될때까지 기다리는 ICustomYieldAwaiter 를 반환합니다. 이 interface 는 Unity 의 Coroutine이 아닌 CoreSystem 의 CoreRoutine 을 타겟으로 개발되었습니다. |
| Name | Description |
|---|---|
| Equals(PresentationSystem<T>) | 두 시스템이 같은 시스템을 가르키는지 반환합니다. |
- Interfaces
- Enums
- SystemFlag
- CoreSystemExceptionFlag
- UserTagFlag
- CustomTagFlag
- ObValueDetection
- ConsoleFlag
- CommandSetting
- Attributes
- Abstract Classes
- Classes
- CoreSystem
- CoreSystemSettings
- PrefabManager
- PrefabList
- RenderManager
- RenderController
-
ConsoleWindow
- CommandDefinition
- CommandField
- CommandRequires
- FMODSystem
- UserTagNameModule
- CustomTagNameModule
- Timer
- BackgroundJob
- ForegroundJob
- WaitForBackgroundJob
- WaitForBackgroundJobWorker
- WaitForForegroundJob
- WaitForTimer
- BackgroundJobWorker
- ObArray
- ObClass
- ObDictionary
- ObList
- ObQueue
- ObValue
- ExtensionMethods
- ThreadSafe
- Structs
- CoreRoutine
- SQLiteDatabase
- SQLiteTable
- SQLiteColumn
- SQLiteVersionInfoTableData
- Bound
- Pole
- Vector2
- Vector3
- Exceptions
- Syadeu.Presentation
- PresentationManager
- SceneList
- EntityDataList
- CustomLoadingScene
- DefaultPresentationGroup
- PresentationGroupEntity
- IPresentationSystemGroup
- PresentationSystemGroup<T>
- PresentationSystem<T>
- PresentationSystem<TGroup, TSystem>
- PresentationSystemEntity<T>
- PresentationSystemModule<TSystem>
- PresentationSystemID
- INotifySystemModule<TModule>
- IExecutable<T>
- PresentationLoop
- PresentationResult
- IReference
- Reference
- SubSystemAttribute
- LoadingSceneSetupEntity
- SceneReference
- SceneSystem
- EntitySystem
- EntityBoundSystem
- EntityRaycastSystem
- EntityExtensionMethods
- AttributeAcceptOnlyAttribute
- EntityAcceptOnlyAttribute
- CoroutineSystem
- CoroutineJob
- ICoroutineJob
- UpdateLoop
- RaycastInfo
- ObjectBase
- ProcessorBase
- WaitForPresentationSystem<T>
- WaitForProxy<T>
- Syadeu.Collections
- AABB
- Plane
- PropertyBlockBase
- PropertyBlock<T>
- ActionWrapper
- BinaryGrid
- CLRContainer
- CLRSingleTone
- CLSTypedDictionary<TValue>
- CLSTypedDictionary<TKey, TValue>
- Direction
- EntityID
- EntityShortID
- IEntityDataID
- IInstance
- IInstance<T>
- Instance
- Instance<T>
- InstanceID
- FixedInstanceList16<T>
- FixedInstanceList64<T>
- IFixedReference
- IFixedReference<T>
- FixedReference
- FixedReference<T>
- FixedReferenceList16<T>
- FixedReferenceList64<T>
- IFixedReferenceList<T>
- FixedListExtensionMethods
- IEntity
- IEntityData
- IAttribute
- IObject
- IEntityComponent
- IPrefabReference
- IPrefabResource
- IEmpty
- IValidation
- FNV1a32
- FNV1a64
- Hash
- Syadeu.Collections.Converters
- Syadeu.Collections.Proxy
- Syadeu.Presentation.Proxy
- Syadeu.Presentation.Internal
- Syadeu.Presentation.Entities
- Syadeu.Presentation.Attributes
- Syadeu.Presentation.Components
- Syadeu.Presentation.Actions
- Syadeu.Presentation.Render
- CameraData
- CameraFrustum
- IntersectionType
- RenderSystem
- WorldCanvasSystem
- Syadeu.Presentation.Data
- DataContainerSystem
- DataObjectBase
- EntityAnimationClipEventData