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
GridManager GridCell
Syadeu edited this page Aug 31, 2021
·
9 revisions
# Deleted at 2.0.0
Namespace: Syadeu.Mono
이 객체는 더 이상 사용되지 않습니다. Syadeu.Presentation.Map.GridSystem 으로 모든 기능이 이관되었습니다.
public struct GridCell : IValidation, IEquatable<GridCell>, IDisposableGrid 내 각 타일입니다.
Inheritance: Object -> GridCell
Implements: IValidation, IEquatable<T>, IDisposable
상위 Grid 의 각각의 타일을 의미합니다.
GridCell 은 상위 Grid 내에서 자신과 이웃하는 GridCell 를 검색할 수 있습니다.
| Name | Description |
|---|---|
| Idxes | 부모 Grid 인덱스 x 와 이 셀의 인덱스 y 를 int2 에 담아 반환합니다. |
| ParentIdx | 부모 Grid 인덱스를 반환합니다. |
| Idx | 이 셀의 인덱스를 반환합니다. |
| Location | 이 셀의 부모 Grid 상 로컬 좌표를 반환합니다. |
| Bounds | 이 셀의 월드 Bounds 를 반환합니다. |
| IsRoot | 이 셀이 루트 셀인가요? |
| HasDependency | 이 셀의 루트 셀이 있는지 반환합니다. |
| DependencyTarget | 이 셀이 자식 셀이면, 루트 셀의 Idxes 를 반환합니다. 없다면 (-1, -1)을 반환합니다. |
| HasDependencyChilds | 이 셀이 루트 셀이고, 자식 셀이 있는지 반환합니다. |
| Enabled | 이 셀이 활성화 되었는지 반환합니다. 루트가 존재한다면, 부모의 값을 반환합니다. |
| Highlighted | 이 셀이 강조되었는지 반환합니다. |
| Color | 이 셀의 컬러값을 Enabled, Highlighted, BlockedByNavMesh 로 판단하여 반환합니다. 루트가 존재한다면, 루트의 값을 반환합니다. |
| BlockedByNavMesh | 이 셀이 Unity NavMesh에 의해 비활성화 되었는지 반환합니다. 부모 그리드가 NavMesh에 영향받지 않는다면, 무조건 false 를 반환합니다. |
| Name | Description |
|---|---|
| IsValid | 이 셀이 유효한지 반환합니다. |
| Equals | 이 셀과 타겟 셀이 같은지 반환합니다. |
| IsVisible | 이 셀이 현재 RenderManager에서 감시 중인 카메라 뷰 내에 존재하는지 반환합니다. |
| HasCell | 해당 방향에 셀이 존재하는지 반환합니다. |
| FindCell | 주어진 방향의 셀을 반환합니다. |
| GetCustomData | 이 셀의 커스텀 데이터를 반환합니다. 루트가 존재한다면, 루트의 값을 반환합니다. |
| GetCustomData<T> | 이 셀의 커스텀 데이터를 해당 타입으로 반환합니다. 루트가 존재한다면, 루트의 값을 반환합니다. |
| SetCustomData<T> | 이 셀의 커스텀 데이터를 지정합니다. 루트가 존재한다면, 루트의 커스텀 데이터를 저장합니다. |
| RemoveCustomData | 이 셀의 커스텀 데이터를 제거합니다. 루트가 존재한다면, 루트의 커스텀 데이터를 제거합니다. |
| MoveCustomData | 이 셀의 커스텀 데이터를 해당 인덱스로 이동합니다. |
| HasTargetDependency | 이 셀이 루트 셀이고, 입력한 인덱스의 자식 셀이 있는지 반환합니다. |
| EnableDependency | 이 셀을 입력한 셀의 자식 셀로 설정합니다. 이후 GetCustomData 와 같은 메소드들은 루트 셀의 메소드로 연결됩니다. |
| DisableDependency | 이 셀을 독립시킵니다. |
| DisableAllChildsDependency | 이 셀이 루트 셀이고, 자식 셀이 있다면 모두 독립시킵니다. |
| SetDirty | 이 셀을 Dirty 마크합니다. 루트가 존재한다면, 루트와 루트의 자식 전부를 Dirty 마크하고, 루트라면 자식셀도 전부 Dirty 마크합니다. |
| Dispose | 사용하지마세요. 이 셀을 방출합니다. |
- 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