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

Inherits CrossLink.LogicModule.

Public Member Functions

void RegInteract (InteractBase ib)
 
void UnregInteract (InteractBase ib)
 
override void OnStateClear ()
 
InteractBase GetInteractByCollider (Collider c)
 
InteractBase GetInteractByTrans (Transform trans)
 
List< InteractBaseQueryInteractInRange (Vector3 pos, float radius)
 
void ClearDropItems ()
 
void RegInteractDrop (InteractBase ib)
 
void UnregInteractDrop (InteractBase ib)
 
void CheckOneDrop ()
 
void BoostAllWeapon (bool b)
 
void UpdateCheck ()
 
void UpdateSmallCheck ()
 
void UpdateGrabHint ()
 

Static Public Attributes

static InteractMgr Instance = new InteractMgr()
 
const float DISCONNECT_CHECKER_DISTANCE = 0.6f
 
const float DISCONNECT_CHECKER_DISTANCE_SQRT = DISCONNECT_CHECKER_DISTANCE * DISCONNECT_CHECKER_DISTANCE
 
const float DISCONNECT_CHECK_SEC = 0.4f
 
const float DISCONNECT_DISTANCE = 0.35f
 
const float DISCONNECT_DISTANCE_SQRT = DISCONNECT_DISTANCE * DISCONNECT_DISTANCE
 
const float DISCONNECT_DISTANCE_MAX = 0.3f
 
const float DISCONNECT_DISTANCE_MAX_SQRT = DISCONNECT_DISTANCE_MAX * DISCONNECT_DISTANCE_MAX
 
static InteractHand[] LocalHands = new InteractHand[RagdollBoneInfo.HAND_NUM]
 
const float SHOW_HINT_DIS = 5
 
const float NORMAL_HAND_POWER = 0.85f
 
const float TIE_HAND_POWER
 
const float SHOW_HINT_DIS_SQRT = SHOW_HINT_DIS * SHOW_HINT_DIS
 
const float HAND_CHECK_RADIUS = 0.25f
 
const float HAND_CHECK_DISTANCE = 14f
 

Member Data Documentation

◆ TIE_HAND_POWER

const float CrossLink.InteractMgr.TIE_HAND_POWER
static
Initial value:
=
0.5f