강의

멘토링

커뮤니티

Reviews 4

Average rating 4.5

Completed 100% of course

I tried hands-on practice with ECS/DOTS for the first time! Although it doesn't cover everything theoretically, it was a time where I could clearly understand what ECS is. I think it would be very helpful for other learners to study various features through Unity's official documentation after completing the course. After completing the course, I modified the scripts for review and self-study purposes, and I think it would be great if other learners could also give it a try! Thank you for the great lecture!!!! --- [Review and Self-Study] 1. Movement System Refactored PlayerMovementSystem and ProjectileMovementSystem to operate based on IJobEntity to improve Burst compilation efficiency and enable parallel processing. - Although PlayerMovementSystem is a single entity, I added a Job structure to maintain consistency with others and ensured the entire logic is Burst compiled. - Removed the foreach loop in ProjectileMovementSystem and modified it to use ScheduleParallel so that work threads are used efficiently when multiple projectiles move simultaneously. 2. HP Bar System Added ComponentLookup.DidChange() checks in PlayerHpBarSystem and EnemyHpBarSystem, and modified to calculate FillAmount only when the data in PlayerComponent and EnemyComponent actually changes. 3. Collision Modified ProjectileCollisionSystem from manually creating EntityCommandBuffer and waiting for Job completion with Complete and Playback to using EndFixedStepSimulationEntityCommandBufferSystem. 4. Audio After completing the final sound effect implementation, it seems an error occurs when moving from the main scene to the game scene because entities are not immediately created in AudioManager. Therefore, I modified it to check (audioBufferEntity == Entity.Null || !entityManager.Exists(audioBufferEntity)) in Update to verify entity existence before playback, just like in other System scripts.

indiegamemaker님의 프로필 이미지
indiegamemaker
Instructor

Thank you for your valuable course review. ~ By sharing even the detailed refactoring process, I think it will be very helpful to others as well.

Absolute Course! Unity 6 - ECS/DOTS Programming Masterclass thumbnail
indiegamemaker

·

27 lectures

·

81 students

Absolute Course! Unity 6 - ECS/DOTS Programming Masterclass thumbnail
indiegamemaker

·

27 lectures

·

81 students