Snapshots. Better actions
This commit is contained in:
1 parent
71bb4c3b5b
commit
31850e77bc
73 files changed
+31948
-80048
No files matched your search
@@ -0,0 +1,18 @@
|
||||
using Code.OfficeGame.BattleMode.Actions;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Code.Infrastructure.Utils
|
||||
{
|
||||
public static class AnimatorSnapshotExtensions
|
||||
{
|
||||
public static AnimatorSnapshot GetSnapshot(this Animator animator)
|
||||
{
|
||||
return AnimatorSnapshot.GetSnapshot(animator);
|
||||
}
|
||||
|
||||
public static void RestoreSnapshot(this Animator animator, AnimatorSnapshot snapshot)
|
||||
{
|
||||
snapshot.RestoreTo(animator);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3cd2b2d431ab42b6b65c04b4516e6281
|
||||
timeCreated: 1793382687
|
||||
Reference in new issue
Block a user