๐ฎUnity
[Unity] ์ค์ต_Property, Memory, Hacks
taesooya
2022. 7. 31. 23:49
property
๋ณ์์ฒ๋ผ ์ธ ์ ์๋ ํจ์
public int GetScore()
{
return score;
}
public void SetScore(int value)
{
score = value;
}
public int SCORE
{
get { return score; }
set
{
score = value;
textScore.text = "Score : " + score;
}
}
Singleton
public static ScoreManager instance;
Memory
- ์ฝ๋์์ญ
- ๋ฐ์ดํฐ Data
- ์ ์ญ๋ณ์Global
- ์ ์ ๋ณ์Static
- ํ Heap
- Instantiate / new
- ์คํ Stack
- ์ง์ญ๋ณ์
Etc
Canvas → Text → BestFit Text - 8 / 9 ๋๋น ๋์ ํ ์คํธ๋ก ๋ฐฐ์นํ์ฌ ํ ์คํธHacks
๐ก #region #edregion
๐ก Right Click → Find reference in Scene
Shader
ShadersLab
Home
All the shaders of this website are totally free-to-use. Feel free to use them in any project without any credits. These shaders are mainly an archive of the tests I've done to learn how to make shaders in Unity. But be careful, most of these are not ready
shaderslab.com