Last updated: Oct 19, 2022

Introduction

The Scope Behaviour abstract class exists with the sole purpose of acting as a base class for the Scope script. It defines what a Scope class needs and allows us to override its functions with whatever we want, in our case we do this in that aforementioned Scope class.

You can find the Scope Behaviour script ****at this path: Assets\Infima Games\Low Poly Animated - Modern Guns\Demo\Code\Attachments\Scope\ScopeBehaviour.cs

Functions

GetOffset. Returns the offset this scope requires in order to be properly aimed.

HideWhenScopeEquipped. If true, this scope default should be hidden when there is a scope equipped. Only makes sense for default scopes.