some fixes
This commit is contained in:
@@ -12,6 +12,7 @@ public class AnimationHandler : MonoBehaviour
|
||||
[Inject] private Visualizer _visualizer;
|
||||
|
||||
private Dictionary<string, Vector3> _scales;
|
||||
private Vector3 _baseScale;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
@@ -40,4 +41,4 @@ public class AnimationHandler : MonoBehaviour
|
||||
foreach(var item in _objects)
|
||||
item.DOScale(isDetected ? _scales[item.name] : Vector3.zero, Random.Range(.2f, .8f));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user