SA.FullBodyIK.Prefix C# (CSharp) Method

Prefix() public method

public Prefix ( Transform rootTransform_ ) : void
rootTransform_ UnityEngine.Transform
return void
		public void Prefix( Transform rootTransform_ )
		{
			if( rootTransform != rootTransform_ ) {
				rootTransform = rootTransform_;
            }

			_Prefix();
		}

Usage Example

Example #1
0
 public virtual void Prefix()
 {
     if (_cache_fullBodyIK == null)
     {
         _cache_fullBodyIK = fullBodyIK;
     }
     if (_cache_fullBodyIK != null)
     {
         _cache_fullBodyIK.Prefix(this.transform);
     }
 }
FullBodyIK