This commit is contained in:
CortexCore
2024-06-14 14:12:02 +08:00
parent 349877fe7a
commit ca93bd2c56
9 changed files with 24 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
using System;
#if UNITY_64
#if UNITY_5_3_OR_NEWER
using UnityEngine;
#endif
namespace BITKit
@@ -8,7 +8,7 @@ namespace BITKit
{
public ConstantHash(object value)
{
#if UNITY_64
#if UNITY_5_3_OR_NEWER
HashCode = Animator.StringToHash(value.ToString());
#else
HashCode = value.GetHashCode();