mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-06 17:54:14 -05:00
fix: 不要なEntityId.ToULongを削除
This commit is contained in:
parent
78ab1af896
commit
eb7936bfe5
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user