Click or drag to resize

BulletLauncher Class

The component for the spells based on launching bullets.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          RavingBots.MagicGestures.Utils.ObjectPoolingPooledGameObject
            RavingBots.MagicGestures.Game.MagicMagicEffect
              RavingBots.MagicGestures.Game.MagicBulletLauncher

Namespace:  RavingBots.MagicGestures.Game.Magic
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class BulletLauncher : MagicEffect

The BulletLauncher type exposes the following members.

Constructors
  NameDescription
Public methodBulletLauncher
Initializes a new instance of the BulletLauncher class
Top
Methods
Fields
  NameDescription
Private field_bullets
The bullet instances.
Private field_bulletTransform
The saved transform of the bullet.
Private field_coloredMesh
The mesh renderers that are colored according to configured spell preferences.
Private field_coloredTrail
The trail renderers that are colored according to configured spell preferences.
Private field_firedCount
The number of bullets already launched.
Private field_firedTime
The time since first bullet was launched.
Protected fieldBulletCount
The number of bullets to launch.
Protected fieldBulletPrefab
The bullet prefab to use.
Protected fieldColorLighten
Teh configured color lighten factor.
Protected fieldFireInterval
The interval between bullets.
Protected fieldFireSound
The sound played when a bullet is launched.
Top
Remarks
The spells themselves are configured in prefabs.
See Also