Awake() public method

public Awake ( Transform rootTransorm_ ) : void
rootTransorm_ UnityEngine.Transform
return void
Exemplo n.º 1
0
        protected virtual void Awake()
        {
#if UNITY_EDITOR
            if (!Application.isPlaying)
            {
                return;
            }
#endif
            if (_cache_fullBodyIK == null)
            {
                _cache_fullBodyIK = fullBodyIK;
            }
            if (_cache_fullBodyIK != null)
            {
                _cache_fullBodyIK.Awake(this.transform);
            }
        }