π«Weapon
In this section you will learn how to implement FPSAnimWeapon
Step 1 - Add FPSAnimWeapon
public class YourWeapon : FPSAnimWeapon //<- inherit from FPSAnimWeapon
{
}public override Transform GetAimPoint() //<- override this in your Weapon class
{
_scopeIndex++;
_scopeIndex = _scopeIndex > scopes.Count - 1 ? 0 : _scopeIndex;
return scopes[_scopeIndex];
} Last updated