public WeaponBehavior ShootWeapon(Vector3 SpawnPosition, LookingDirection direction, PlayerController owner) { WeaponBehavior instantiated = Instantiate(weaponPrefab, SpawnPosition, Quaternion.identity); instantiated.damage = weaponDamage; instantiated.Init(initialVelocity, direction, owner); return(instantiated); }