fix: 不要なEntityId.ToULongを削除

This commit is contained in:
matsutaka 2026-06-24 18:08:49 +09:00
parent 78ab1af896
commit eb7936bfe5
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ namespace UniVRM10.ClothWarp.Components
}
}
#if UNITY_6000_5_OR_NEWER
static int GetControlId(Component component) => EntityId.ToULong(component.GetEntityId()).GetHashCode();
static int GetControlId(Component component) => component.GetEntityId().GetHashCode();
#else
static int GetControlId(Component component) => component.GetInstanceID();
#endif

View File

@ -308,7 +308,7 @@ namespace UniVRM10
}
#if UNITY_6000_5_OR_NEWER
static int GetControlId(Component component) => EntityId.ToULong(component.GetEntityId()).GetHashCode();
static int GetControlId(Component component) => component.GetEntityId().GetHashCode();
#else
static int GetControlId(Component component) => component.GetInstanceID();
#endif