Fiore bc88d47e6b [feat] 매직미사일 구현 시작
- 몬스터가 사용할 총알 베이스 생성

work in DEG-100
2025-04-29 11:13:18 +09:00

25 lines
469 B
C#

using UnityEngine;
public struct BulletData
{
public Vector3 TargetPos;
public float Damage;
public float LifeTime;
public float Speed;
public BulletData(Vector3 targetPos, float damage, float lifeTime, float speed)
{
TargetPos = targetPos;
Damage = damage;
LifeTime = lifeTime;
Speed = speed;
}
}
public class BulletBase : MonoBehaviour
{
private float _speed;
private Vector3 _targetPosition;
}