Merge branch 'dev' of http://git.juzugame.com/b6-client/b6-unity into dev
This commit is contained in:
commit
e363df91a5
@ -36,7 +36,7 @@ namespace BF
|
|||||||
public void PlayAnimation(string animName, bool loop, bool forceRefresh)
|
public void PlayAnimation(string animName, bool loop, bool forceRefresh)
|
||||||
{
|
{
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
Spine.Animation animation = skeletonGraphic.skeletonDataAsset.GetAnimationStateData().SkeletonData.FindAnimation(name);
|
Spine.Animation animation = skeletonGraphic.skeletonDataAsset.GetAnimationStateData().SkeletonData.FindAnimation(animName);
|
||||||
if(BFLog.LogAssert(animation != null, this.gameObject.name + " not have " + animName))
|
if(BFLog.LogAssert(animation != null, this.gameObject.name + " not have " + animName))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user