Merge pull request #124 from neon-izm/feature/script_execution_order_springbone

add execution order number (avoid order conflict with vrik)
This commit is contained in:
yutopp 2019-01-18 12:07:40 +09:00 committed by GitHub
commit 5a23d64790
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -7,7 +7,11 @@ namespace VRM
{
/// <summary>
/// The base algorithm is http://rocketjump.skr.jp/unity3d/109/ of @ricopin416
/// DefaultExecutionOrder(11000) means calclate springbone after FinaiIK( VRIK )
/// </summary>
#if UNITY_5_5_OR_NEWER
[DefaultExecutionOrder(11000)]
#endif
public class VRMSpringBone : MonoBehaviour
{
[SerializeField]

View File

@ -4,6 +4,9 @@ using UnityEngine;
namespace VRM
{
#if UNITY_5_5_OR_NEWER
[DefaultExecutionOrder(11001)]
#endif
public class VRMSpringBoneColliderGroup : MonoBehaviour
{
[Serializable]