Class "BulletLibrary"

Namespace: VirtualDropkick.DanmakuEngine.Unity
Inherits from: UnityEngine.ScriptableObject

Summary

Stores bullet- and emitter-presets


Public Members

BulletPreset[] bulletPresets
An array of additional bullet-presets

BulletPreset defaultBullet
The default bullet-preset

EmitterPreset defaultEmitter
The default emitter-preset

EmitterPreset[] emitterPresets
An array of additional emitter-presets


Public Properties

IDictionary<string, BulletPreset> BulletDictionary
Returns a dictionary with all defined bullet-presets, indexed by their keys.

string[] BulletKeys
Returns an array of all defined bullet-preset keys.

IDictionary<string, EmitterPreset> EmitterDictionary
Returns a dictionary with all defined bullet-presets, indexed by their keys.

string[] EmitterKeys
Returns an array of all defined emitter-preset keys.


Public Methods

DanmakuBullet GetBulletPrefab(string key)
Returns the Prefab contained by the bullet-preset with the given key (null if it is not found)

BulletPreset GetBulletPreset(string key)
Returns the bullet-preset with the given key (null if it is not found)

DanmakuEmitter GetEmitterPrefab(string key)
Returns the Prefab contained by the emitter-preset with the given key (null if it is not found)

EmitterPreset GetEmitterPreset(string key)
Returns the emitter-preset with the given key (null if it is not found)


Nested Classes

Class "BulletLibrary.BulletPreset"

Summary

Represents a bullet-preset

Public Members

bool destroyWhenInvisible
Determines if the instances of the Prefab will be destroyed once they became invisible

string key
The key of this preset

DanmakuBullet prefab
A reference to a bullet-Prefab


Class "BulletLibrary.EmitterPreset"

Summary

Represents an emitter-preset

Public Members

bool destroyWhenInvisible
Determines if the instances of the Prefab will be destroyed once they became invisible

string key
The key of this preset

DanmakuEmitter prefab
A reference to an emitter-Prefab


Buy the Danmaku Engine plugin

Leave a comment