From 164743e2d3689cbaead1ab409db0e57d887a4f5c Mon Sep 17 00:00:00 2001
From: "p.shestakov"
Date: Tue, 9 Jul 2024 22:05:05 +0300
Subject: [PATCH] added getter to linked spriteAtlas in SpriteAnimationClip3000
---
Runtime/SpriteAnimationClip3000.cs | 1 +
1 file changed, 1 insertion(+)
diff --git a/Runtime/SpriteAnimationClip3000.cs b/Runtime/SpriteAnimationClip3000.cs
index c5366c1..22bc433 100644
--- a/Runtime/SpriteAnimationClip3000.cs
+++ b/Runtime/SpriteAnimationClip3000.cs
@@ -27,6 +27,7 @@ private void OnEnable()
m_sprites = null;
}
+ public SpriteAtlas spriteAtlas { get { return m_spriteAtlas; } }
public int framesCount { get { return m_frames.Count; } }
public float length { get { return m_length; } }
public float GetLength(float timeScale)