Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- public class AnimatorHash : ScriptableObject
- {
- [HideInInspector]
- [SerializeField]
- private int _hash;
- public static implicit operator int(AnimatorHash animatorHash)
- => animatorHash._hash;
- #if UNITY_EDITOR
- public void SetHash(int hash) => _hash = hash;
- #endif
- }
Advertisement
Add Comment
Please, Sign In to add comment