partial struct QueryJob : IJobEntity { // Iterates over all translation components and increments upwards movement by one. public void Execute(ref Translation translation) { translation.Value += math.up(); } }

์ด๋ ‡๊ฒŒ ๋งŒ๋“ค๊ณ  ์Šค์ผ€์ฅด์— ๋“ฑ๋กํ•ด์„œ ์‚ฌ์šฉํ•˜์ž๋‚˜


๊ทผ๋ฐ ์ด๊ฑฐ ๋ช‡๋ฒˆ ๋ฐ˜๋ณตํ•˜๋Š”์ง€๋Š” ์–ด๋–ป๊ฒŒ ๊ฒฐ์ •๋˜๋Š”๊ฑฐ์ž„?


for๋ฌธ์ฒ˜๋Ÿผ ๋ฐ˜๋ณต i๊ฐ€ ์žˆ๋Š”๊ฒƒ๋„ ์•„๋‹ˆ๊ณ ย