Battle Talent  V11
Public Member Functions | Public Attributes | Static Public Attributes | Events | List of all members
CrossLink.CharacterAnimation Class Reference

Inherits MonoBehaviour.

Public Member Functions

void MoveSpeedMlp (float mlp)
 
virtual void Init ()
 
void EyesOn (Transform target)
 
void UpdateAimPos ()
 
void SetAimPos (Vector3 aimPos)
 
void ClearAimPos ()
 
void PlayFacial (string facial)
 
void SetFacial (string facial, float percent=1)
 
void EnableEyeTrail (bool e)
 
AnimationClip GetClip (string anim)
 
void UpdateDyBones (float dt)
 
void ResetParams ()
 
void UpdateAnimParam (float delta)
 
bool PlayRandom (string[] names, float crossfade=0.2f, int layer=0)
 
float GetCurrentAnimLength ()
 
bool IsInGroundedState ()
 
void ResetState (float crossFade=DefaultCrossFadeSec)
 
void PlayState (string name, float crossFade=DefaultCrossFadeSec, int layer=0)
 
void SetAnimSpeed (float s)
 
float GetAnimSpeed ()
 
void SetAnimMoveSpeed (float s)
 
float GetMoveSpeed ()
 
void SetLayer (int layer, float weight)
 
void OpenLayerForAWhile (int layer=1, float sec=3)
 
bool LayerIsOpened (int layer=1)
 
bool IsHighLod ()
 
void SetIKLod (LodLevel lv)
 
void SetTailWaving (bool w)
 
void EnableGrounder (bool e)
 
void SetDyBonesEnable (bool en)
 
void EnableLod (bool elod1)
 
void SetSkinnedMeshOffScreenUpdate (bool u)
 
Bounds GetBounds ()
 

Public Attributes

CharacterController controller
 
Animator animator
 
PartialAnim partialAnim
 
RootMotion.FinalIK.FullBodyBipedIK fbik
 
Renderer[] meshes
 
DynamicBone[] dyBones
 
Rigidbody[] phyBones
 
MonoBehaviour[] dyIKs
 
Transform lookat
 
TrailRenderer[] eyeTrails
 
BlendShapeController blendShape
 
FIMSpace.FEyes.FEyesAnimator eyesAnim
 
FIMSpace.FTail.TailAnimator2[] tails
 
MagicaCloth.MagicaBoneCloth cloth
 
RootMotion.FinalIK.AimIK aimIK
 
SkinnedMeshRenderer[] lod1
 
SkinnedMeshRenderer[] lod3
 

Static Public Attributes

const float DefaultCrossFadeSec = 0.2f
 

Events

System.Action FootStepEvent