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

Inherits CrossLink.CreatureBase.

Public Member Functions

void AskForMoney ()
 
void HandsBack ()
 
void ShakeHead ()
 
void RefleshMerchandise ()
 
void OnPlayerApproach ()
 
void OnPlayerLeave ()
 
void OnPlayerGrabedMerchandise (MerchandiseGrid mg, AttachObj a, bool g)
 
void OnPayed (bool isSuc)
 
void NecklaceLightOn (bool isOn)
 
void NecklaceLightBright ()
 
void NecklaceLightNotEnough ()
 
void TryNecklaceOff ()
 

Public Attributes

float crossfadeTime = 0.1f
 
float posWeight = 0.5f
 
float rotWeight = 0.15f
 
Transform eyeTarget
 
Transform handTarget
 
Transform trackPoint
 
Transform necklaceTrans
 
Transform merchandiseCenter
 
Renderer necklaceRenderer
 
Color necklaceColor
 
Color notEnoughColor
 
float colorIntansity
 
Vector3 initOffset = Vector3.zero
 
SoundEffectInfo noMoneySound
 
SoundEffectInfo dealSound
 
SoundEffectInfo hitSound
 
SoundEffectInfo refleshSound
 
float delayAfterPayTime = 1f