์ ๋ํฐ 4
-
https://drybone-developer.tistory.com/85 [Unity C#] ์ฝ๋ฃจํด์ ์ฌ์ฉํด์ ํ์ด๋ ์ธ, ํ์ด๋ ์์ + α ๋ ํ ์์ ๋ง์ด ์ด ๊ธฐ๋ฅ. ํ์ด๋ ์ธ.. ํ์ด๋ ์์... Coroutine์ ์ฌ์ฉํด์ UI Pannel์ ํ์ด๋์ธ, ์์ ํ๋ ๋ฐฉ๋ฒ์ด์์. ์ด๊ฑฐ ๋ง๋จธ๋ฆฌ์ UGUI ๋ถ์ผ๊น๋ง๊น ์ข ๊ณ ๋ฏผํ์ด (๊ฒฐ๊ตญ ์๋ถ์) ๊ตณ์ด ํ๋ฌ์ด ์๋์ด drybone-developer.tistory.com public GameObject Button; void Start() { StartCoroutine(BlinkIn()); } public IEnumerator BlinkIn() { for(float g = 0f; g < 600; g += 0.0001f) { for (float f = 1f; f..
-
using TMPro; public TMP_Text [๋ณ์๋ช ]; ์ ๊ฑฐ ๋๊ฐ ์จ์ผํจ * ใ • ห ห ห ห ห • ใ* ใ° ใ* ใ • ห https://higatsuryu9975.tistory.com/32?category=902775 [Unity] TextMeshPro - Text (UI) ํ ์คํธ ๋ฐ๊พธ๋ ๋ฒ (Script์์ ์ฌ์ฉ๋ฒ) ๋งจ๋ TMP๋ฅผ ์คํฌ๋ฆฝ์ค์์ ์ฐ๋ ๋ฒ์ ๊น๋จน์ด์ ์ ์ด๋๋ค..! [์๋จ ์์ฝ] using TMPro; - public TMP_Text tmp; - public TextMeshProUGUI tmp2; tmp.text = "์ํ๋ ํ ์คํธ ์ ์ด๋ฃ๊ธฐ"; tmp2.text = "์ํ๋ ํ ์คํธ ์ ์ด๋ฃ๊ธฐ2"; higatsuryu9975.tistory.com
-
-
์ฝ๋ฃจํด ์ ์ Coroutines are computer program components that generalize subroutines for non-preemptive multitasking, by allowing execution to be suspended and resumed. ์คํ์ ์ง์ฐ๊ณผ ์ฌ๊ฐ๋ฅผ ํ์ฉํจ์ผ๋ก์, ๋น ์ ์ ์ ๋ฉํฐํ์คํน์ ์ํ ์๋ธ๋ฃจํด์ ์ผ๋ฐํํ ์ปดํจํฐ ํ๋ก๊ทธ๋จ ๊ตฌ์ฑ์์ ์ค๋ช ๋ณํ์ฑ, ๋์์ฑ(Concurrency) ๋ณ๋ ฌ์ฑ(Parallelism) ๋น ์ ์ ์ ๋ฉํฐํ์คํน (Non-preemptive multitasking) CPU๋ฅผ ์ฐจ์งํ๊ณ ์๋ ์ฐ๋ ๋๊ฐ CPU ์ฐ์ฐ์ด ํ์์์์ ๋ํ๋์ ๋, ์ด์์ฒด์ ๊ฐ ํ์ํ ์ ์๋ ๊ฒฝ์ฐ โญ๏ธ โ ์ ์ ํ ๋ฉํฐํ์คํน (Preemptive multit..