SVG to PNG

This commit is contained in:
klemek
2020-12-22 11:37:35 +01:00
parent 972a689d9c
commit 0c64c185ab
91 changed files with 2941 additions and 1431 deletions
+4 -4
View File
@@ -2,9 +2,9 @@
using System.Collections;
using System.Collections.Generic;
using TMPro;
using Unity.VectorGraphics;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace UntitledLogicGame.UI
{
@@ -16,12 +16,12 @@ namespace UntitledLogicGame.UI
#region Public Properties
public SVGImage Image
public Image Image
{
get
{
if (_image == null)
_image = GetComponentInChildren<SVGImage>();
_image = GetComponentInChildren<Image>();
return _image;
}
}
@@ -51,7 +51,7 @@ namespace UntitledLogicGame.UI
#region Private Properties
private SVGImage _image;
private Image _image;
private TextMeshProUGUI _text;
private RectTransform _rect;