Hello, so i'm trying to change the range off the bullet ingame, but cant seem to get it to work..

Does anyone have any hints that may help me on my path to reach my goal?


What i've tryed so far :

public BulletWeaponDataBlock()
{
this.bulletRange = 10000f;
Changing the Bullet range under BulletWeaponDataBlock.

Changed the bool didhit to 10000 BulletRange under --- [ public virtual void Local_FireWeapon ] ----
bool didHit = Physics2.Raycast2(eyesRay, out hit, this.GetBulletRange(itemRep), 10000);

Much love if you give me some ''Hints/tips''