Esempio n. 1
0
        public override void Launch(int posX, int posY, FInt velX, FInt velY)
        {
            var projectile = HammerProjectile.Create(this.character.room, this.projSubType, FVector.Create(posX, posY), FVector.Create(velX, velY));

            projectile.SetActorID(this.character);
        }
 // Start is called before the first frame update
 void Start()
 {
     projectile = gameObject.GetComponentInParent <HammerProjectile>();
 }