Пример #1
0
	void OnEnable () {
		skeletonUtility = SkeletonUtility.GetInParent<SkeletonUtility>(transform);

		if (skeletonUtility == null)
			return;

		skeletonUtility.RegisterBone(this);

		skeletonUtility.OnReset += HandleOnReset;
	}
Пример #2
0
    void OnEnable()
    {
        if (skeletonUtility == null)
        {
            return;
        }

        skeletonUtility.RegisterBone(this);

        skeletonUtility.OnReset += HandleOnReset;
    }
    void OnEnable()
    {
        skeletonUtility = SkeletonUtility.GetInParent <SkeletonUtility>(transform);

        if (skeletonUtility == null)
        {
            return;
        }

        skeletonUtility.RegisterBone(this);
        skeletonUtility.OnReset += HandleOnReset;
    }
Пример #4
0
    void OnEnable()
    {
        skeletonUtility = GetComponentInParent <SkeletonUtility>();
        if (skeletonUtility == null)
        {
            return;
        }

        skeletonUtility.RegisterBone(this);

        skeletonUtility.OnReset += HandleOnReset;
    }
	void OnEnable(){
		skeletonUtility = GetComponentInParent<SkeletonUtility>();
		if(skeletonUtility == null)
			return;

		skeletonUtility.RegisterBone(this);

		skeletonUtility.OnReset += HandleOnReset;
	}