예제 #1
0
파일: Tile.cs 프로젝트: tiny656/Unity-Games
    private void ApplyStyleFromHolder(int number)
    {
        TileStyle tileStyle = TileStyleManager.GetTileStyle(number);

        this.tileText.text   = tileStyle.number.ToString();
        this.tileText.color  = tileStyle.textColor;
        this.tileImage.color = tileStyle.tileColor;
    }
예제 #2
0
 void Awake()
 {
     instance = this;
 }