2D Shooter Bullet and Weapon System for Unity 3.0.0
Loading...
Searching...
No Matches
DotsBulletLink Class Reference

Links a bullet GameObject to its DOTS entity. More...

Inheritance diagram for DotsBulletLink:

Public Member Functions

void OnRicochet (float newDirectionAngleRadians)
 Called when bullet ricochets - updates the entity's direction so BulletMovementSystem continues correctly.

Public Attributes

Entity LinkedEntity
DotsBulletManager Manager

Detailed Description

Links a bullet GameObject to its DOTS entity.

Placed on pooled bullet GameObjects when using DOTS.

Member Function Documentation

◆ OnRicochet()

void DotsBulletLink.OnRicochet ( float newDirectionAngleRadians)

Called when bullet ricochets - updates the entity's direction so BulletMovementSystem continues correctly.

Member Data Documentation

◆ LinkedEntity

Entity DotsBulletLink.LinkedEntity

◆ Manager

DotsBulletManager DotsBulletLink.Manager

The documentation for this class was generated from the following file:
  • C:/git/2dshooterweaponsystem/Assets/2DShooterWeaponSystem/Scripts/Dots/DotsBulletLink.cs