Exemple #1
0
    protected override void Initialize()
    {
        // 총알 초기화
        BulletPoolManager bulletPoolManager = BulletPoolManager.Instance;

        _rigidbody = this.GetComponent <Rigidbody>();

        _bulletUpdateEvent    = bulletPoolManager.BulletUpdateEvent;
        _bulletCollisionEvent = bulletPoolManager.BulletCollisionEvent;
    }
 public void AddEvent(BulletUpdateEvent e)
 {
     BulletUpdateEvent += e;
 }