Unity-Technologies / EntityComponentSystemSamples

Other
7.25k stars 1.62k forks source link

TurretAuthoring does not add URPMaterialPropertyBaseColor component #263

Open sijoonlee opened 1 year ago

sijoonlee commented 1 year ago

TurretAspect is looking for Turret + URPMaterialPropertyBaseColor component like below

https://github.com/Unity-Technologies/EntityComponentSystemSamples/blob/f22bb949b3865c68d5fc588a6e8d032096dc788a/EntitiesSamples/Assets/Tutorials/Tanks/Step%204/TurretAspect.cs#L14-L18

However, URPMaterialPropertyBaseColor's not added here https://github.com/Unity-Technologies/EntityComponentSystemSamples/blob/f22bb949b3865c68d5fc588a6e8d032096dc788a/EntitiesSamples/Assets/Tutorials/Tanks/Step%202/TurretAuthoring.cs#L20-L26

I am new to this, please correct me if I am wrong