Add skin property image.frames
and image.index
.
This commit is contained in:
@@ -77,7 +77,6 @@ namespace Cryville.Crtr.Components {
|
||||
verts.Clear();
|
||||
uvs.Clear();
|
||||
foreach (var f in m_frames) {
|
||||
f.Value.Load();
|
||||
if (frameHeight == 0) frameHeight = f.Value.Rect.height;
|
||||
else if (frameHeight != f.Value.Rect.height) throw new Exception("Inconsistent frame height for text component");
|
||||
var tex = f.Value.Frame.Texture;
|
||||
|
Reference in New Issue
Block a user