Advertisement
DirePixel

CharacterAnimationHelper.cs

Apr 27th, 2023
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. using UnityEngine;
  2. using UnityEngine.Events;
  3.  
  4. public class CharacterAnimationHelper : MonoBehaviour
  5. {
  6. public UnityEvent RenderToolABehind, RenderToolBBehind, RenderToolAFront, RenderToolBFront;
  7.  
  8. public void OnRenderToolABehind()
  9. {
  10. RenderToolABehind.Invoke();
  11. }
  12.  
  13. public void OnRenderToolBBehind()
  14. {
  15. RenderToolBBehind.Invoke();
  16. }
  17.  
  18. public void OnRenderToolAFront()
  19. {
  20. RenderToolAFront.Invoke();
  21. }
  22.  
  23. public void OnRenderToolBFront()
  24. {
  25. RenderToolBFront.Invoke();
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement