 | TetrapodNamingConventionGetCharacterNamePrefix Method |
Gets the character name prefix.
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic static string GetCharacterNamePrefix(
Transform characterRoot
)
Parameters
- characterRoot
- Type: Transform
Transform component at the root of the character's hierarchy.
Return Value
Type:
StringThe character name prefix.
Remarks
This method works by trying to find the best match for a root/pelvis name and extracting whatever prefix it
finds. If it detects a prefix that looks like a Human IK control rig, it will keep searching for the next
possible match.
See Also