Exemple #1
0
    public BulletStateData Go(BulletSpawnData spawnData)
    {
        //Debug.Log($"bullet {Id} Go");

        BulletState = new BulletStateData(Id, PlayerId, 0, spawnData.Position);
        bulletController.ResetTo(BulletState);

        Owner.AddBullet(this);

        return(BulletState);
    }