Update() public method

public Update ( ) : void
return void
Ejemplo n.º 1
0
        void LateUpdate()
        {
#if UNITY_EDITOR
            if (!Application.isPlaying)
            {
                return;
            }
#endif

            FullBodyIK.Assert(_fullBodyIK != null);
            if (_fullBodyIK != null)
            {
                _fullBodyIK.Update();
            }
        }
Ejemplo n.º 2
0
        protected virtual void LateUpdate()
        {
#if UNITY_EDITOR
            if (!Application.isPlaying)
            {
                return;
            }
#endif
            if (_cache_fullBodyIK == null)
            {
                _cache_fullBodyIK = fullBodyIK;
            }
            if (_cache_fullBodyIK != null)
            {
                _cache_fullBodyIK.Update();
            }
        }