Liberi
An exergame built for kids with CP!
All Classes Functions Variables Properties Events
CollisionEffectRelationship Class Reference

Describes an effect relationship between a collider and an incoming physic material. More...

Public Attributes

PhysicMaterial OtherMaterial
 The incoming physic material. More...
 
bool IsContinuous
 Whether or not the effect is continuously applied. More...
 
float EffectInterval = .5f
 The interval at which to apply the effect if it is continuous. More...
 
AudioClip SoundEffect
 A sound effect to play on collision. More...
 
GameObject VisualEffectPrefab
 A visual effect to spawn on collision. More...
 
TriggerHitLocationMode TriggerHitLocationMode
 The hit location mode to determine the point of collision if our collider is a trigger. More...
 

Detailed Description

Describes an effect relationship between a collider and an incoming physic material.

Definition at line 12 of file CollisionEffects.cs.

Member Data Documentation

float CollisionEffectRelationship.EffectInterval = .5f

The interval at which to apply the effect if it is continuous.

Definition at line 25 of file CollisionEffects.cs.

bool CollisionEffectRelationship.IsContinuous

Whether or not the effect is continuously applied.

Definition at line 21 of file CollisionEffects.cs.

PhysicMaterial CollisionEffectRelationship.OtherMaterial

The incoming physic material.

Definition at line 17 of file CollisionEffects.cs.

AudioClip CollisionEffectRelationship.SoundEffect

A sound effect to play on collision.

Definition at line 29 of file CollisionEffects.cs.

TriggerHitLocationMode CollisionEffectRelationship.TriggerHitLocationMode

The hit location mode to determine the point of collision if our collider is a trigger.

Definition at line 37 of file CollisionEffects.cs.

GameObject CollisionEffectRelationship.VisualEffectPrefab

A visual effect to spawn on collision.

Definition at line 33 of file CollisionEffects.cs.


The documentation for this class was generated from the following file: