ORK Framework  2.34.0
API Documentation
ORKFramework.DamageDealerActivation Class Reference
Inheritance diagram for ORKFramework.DamageDealerActivation:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
void Add (DamageDealer damage, Combatant user)
void AddAudio (DamageDealer damage, Combatant user)
void AddPrefab (DamageDealer damage)
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...

Public Attributes

bool addAudio = false
bool useSoundType = false
int soundTypeID = 0
bool targetSound = false
AssetSource< AudioClip > audioClip
PlayAudioSettings audio
bool addPrefab = false
AssetSource< GameObject > prefab
bool mountPrefab = false
bool stopParticles = false
float stopAfter = 1
float after = 0
BattleAnimationSetting battleAnimation = new BattleAnimationSetting()

Member Function Documentation

◆ SetData()

override void ORKFramework.DamageDealerActivation.SetData ( DataObject  data)

Sets the variables of the class using a ORKFramework.DataObject.

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.