Energy Based Objects  2.01
Classes | Public Types | Public Member Functions | Public Attributes | Events
OnWeaponRaycastSpawn Class Reference

Receives the raycast info from the ObjectRaycastTurret and instantiates LineRenderers accordingly. More...

Inheritance diagram for OnWeaponRaycastSpawn:
IComponentEventConnector

List of all members.

Classes

class  EffectOptions
class  LineRendererOptions
class  MessageOptions
class  MoveLineRendererOptions

Public Types

enum  SendMessageType { SendMessage, SendMessageUpwards, BroadcastMessage }

Public Member Functions

void ConnectComponentEvent (Component component)
void DisconnectComponentEvent (Component component)

Public Attributes

int maxObjectsToHit = 1
 The limit of how many objects are checked when hit from a RaycastAll.
bool useAttachedRigidbody
 Spawns effect and sends messages to the collider.attachedRigidbody if it exists.
Otherwise it defaults to the collider that was hit.
LineRendererOptions lineRendererOptions = new LineRendererOptions()
MoveLineRendererOptions moveLineRendererOptions = new MoveLineRendererOptions()
EffectOptions effectOptions = new EffectOptions()
MessageOptions messageOptions = new MessageOptions()

Events

Action< LineRenderer > OnCreateLineRenderer
 Called when a LineRenderer has been created and properties are set.

Detailed Description

Receives the raycast info from the ObjectRaycastTurret and instantiates LineRenderers accordingly.


Member Data Documentation

int maxObjectsToHit = 1

The limit of how many objects are checked when hit from a RaycastAll.

Spawns effect and sends messages to the collider.attachedRigidbody if it exists.
Otherwise it defaults to the collider that was hit.


Event Documentation

Action<LineRenderer> OnCreateLineRenderer

Called when a LineRenderer has been created and properties are set.

 All Classes Namespaces Functions Variables Properties Events