Class Bullet
Inherited Members
Component.GetComponentInChildren<T>()
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DestroyObject(Object)
Namespace: LobsterFramework.AbilitySystem.WeaponSystem
Assembly: LobsterFramework.dll
Syntax
[RequireComponent(typeof(Rigidbody2D))]
public class Bullet : MonoBehaviour
Methods
| Improve this Doc View SourceInitialize(TargetSetting, float, Entity, float, int, float)
Declaration
public void Initialize(TargetSetting target, float duration, Entity attacker, float attackPower, int piercePower, float weight)
Parameters
Type | Name | Description |
---|---|---|
TargetSetting | target | |
float | duration | |
Entity | attacker | |
float | attackPower | |
int | piercePower | |
float | weight |