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

Inherits MonoBehaviour.

Classes

class  StabGeometry
 
class  StabInfo
 

Public Member Functions

void LooseAllStab (bool l=true)
 
StabGeometry GetStabGenByCol (Collider col)
 
void ProtectStabForAWhile (float offset=0)
 
bool IsRecentlyAddStabTargetForce ()
 
void AddStabTargetForce (Vector3 force)
 
void OnStabTargetMuscleBroken (RagdollAnim ra, string muName)
 
Dictionary< Transform, StabInfoGetStabInfo ()
 
StabInfo GetStabInfoByTheSameRoot (Transform checkRoot)
 
int GetStabingCount ()
 
bool IsStabbed (Transform target)
 
StabInfo GetStuckedInfo ()
 
bool IsStabbedInStuck ()
 
bool HasSideGeo ()
 
StabGeometry FindStabGeo (Vector3 stabPos)
 
StabGeometry CheckStab (Vector3 relaVel, Vector3 stabPos)
 
float GetStabTime ()
 
float GetStabEndTime ()
 
StabInfo BuildStab (StabGeometry stabGeo, Collider stabCol, Collider col, Vector3 stabPos, Vector3 stabberPos, System.Action< StabInfo > onBreak=null)
 
void BreakAllStab (bool exceptProtect=false)
 
void BreakStuckStab ()
 

Public Attributes

StabGeometry[] geos
 
bool isActive = true
 
InteractBase ib
 
Transform trans
 
bool trackback = false
 
bool scalingForward = false
 

Events

System.Action< StabInfoStabEnterEvent
 
System.Action< StabInfoStabExitEvent
 
System.Action< StabInfoStabFastPullOverEvent