C# Class ProjectileCollisionBehaviour, TLH

Inheritance: MonoBehaviour
Show file Open project: hydrater/TLH

Public Properties

Property Type Description
AcceleraionTime float
Acceleration UnityEngine.AnimationCurve
AttachAfterCollision bool
EffectOnHitObject GameObject
GoLight GameObject
IsCenterLightPosition bool
IsDeviation bool
IsLocalSpaceRandomMove bool
IsLookAt bool
IsRootMove bool
RandomMoveCoordinates RandomMoveCoordinates
RandomMoveRadius float
RandomMoveSpeed float
RandomRange float
ResetParentPositionOnDisable bool
SendCollisionMessage bool

Public Methods

Method Description
GetEffectSettingsComponent ( Transform tr ) : void
OnDisable ( ) : void
OnEnable ( ) : void

Private Methods

Method Description
CollisionEnter ( ) : void
GetTargetHit ( ) : void
InitRandomVariables ( ) : void
InitializeDefault ( ) : void
Start ( ) : void
Update ( ) : void
UpdateSmootRandomhPos ( ) : void

Method Details

GetEffectSettingsComponent() public method

public GetEffectSettingsComponent ( Transform tr ) : void
tr Transform
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

Property Details

AcceleraionTime public property

public float AcceleraionTime
return float

Acceleration public property

public AnimationCurve,UnityEngine Acceleration
return UnityEngine.AnimationCurve

AttachAfterCollision public property

public bool AttachAfterCollision
return bool

EffectOnHitObject public property

public GameObject EffectOnHitObject
return GameObject

GoLight public property

public GameObject GoLight
return GameObject

IsCenterLightPosition public property

public bool IsCenterLightPosition
return bool

IsDeviation public property

public bool IsDeviation
return bool

IsLocalSpaceRandomMove public property

public bool IsLocalSpaceRandomMove
return bool

IsLookAt public property

public bool IsLookAt
return bool

IsRootMove public property

public bool IsRootMove
return bool

RandomMoveCoordinates public property

public RandomMoveCoordinates RandomMoveCoordinates
return RandomMoveCoordinates

RandomMoveRadius public property

public float RandomMoveRadius
return float

RandomMoveSpeed public property

public float RandomMoveSpeed
return float

RandomRange public property

public float RandomRange
return float

ResetParentPositionOnDisable public property

public bool ResetParentPositionOnDisable
return bool

SendCollisionMessage public property

public bool SendCollisionMessage
return bool