SetToReferences() публичный Метод

Sets up the solver to BipedReferences and reinitiates (if in runtime).
public SetToReferences ( BipedReferences references, Transform rootNode = null ) : void
references BipedReferences Biped references.
rootNode UnityEngine.Transform Root node (optional). if null, will try to detect the root node bone automatically.
Результат void
Пример #1
0
 /// <summary>
 /// Sets the solver to new biped references.
 /// </summary>
 /// /// <param name="references">Biped references.</param>
 /// <param name="rootNode">Root node. if null, will try to detect the root node bone automatically. </param>
 public void SetReferences(BipedReferences references, Transform rootNode)
 {
     this.references = references;
     solver.SetToReferences(this.references, rootNode);
 }