You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 regels
350 B

  1. using System;
  2. using SUISS.Core;
  3. using SUISSEngine;
  4. using UnityEngine;
  5. using UnityEngine.UI;
  6. public class LevelGridTileIcon : GridTileIcon
  7. {
  8. public void SetLevel(int level)
  9. {
  10. this._levelImage.sprite = SingletonMonobehaviour<LevelSpriteAssetCollection>.Instance.GetAsset(level);
  11. }
  12. [SerializeField]
  13. private Image _levelImage;
  14. }