Last updated: Sep 7, 2022

Introduction

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

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

Functions

Get Index. Returns the value of the Grip Index variable. We basically have this function with the sole purpose of acting as a getter for that value.