Table of Contents

Introduction

Thanks for purchasing the Low Poly Shooter Pack for Unity!

This document will help you understand what the core parts of the asset are, what each of them does, and how you can interact with them.

The idea is not for you to read this document once and be done with it, but to reference it when you’re stuck or curious about something specific, hopefully, it will help you in your journey to making great games.

Note:

If you need help with things that are not clarified in this document or need clarification for anything, you can contact us directly.

Ideally, you should join our Discord server, we’re active there, and it’s easier for us to help you out!

Discord | Twitter | Email

Character

The Character component is the script that contains all the functionality related to getting things done in the asset.

What I mean by this is that this component is the one that usually initiates actions, makes sure they can be started, and then passes that information to other parts of the asset for them to act on it.

A good example of this is how all the input in the asset goes through this component, it then checks whether other things that are happening allow us to still act on that input, and if they do, it runs whatever that input needs to run.

Note: This component can be found at the root of the P_LPSP_FP_CH object, which is our main player character.

Inventory

This section of the Character component relates to the Inventory component, and how these two components are connected.

To say that in a simpler manner: This section has to do with how the Character component interacts with the Inventory component. That’s basically it.

In this part of the component, you can find the following values that you can modify:

Weapon Index Equipped At Start. This field determines what weapon is equipped when the game starts. It takes an integer, and it picks the weapon at that index in the weapon’s array.

If you’re not sure what each weapon’s index is, a good rule of thumb is to open the P_LPSP_FP_CH prefab, either by going to Infima Games\Low Poly Shooter Pack\Prefabs, or simply by finding it in the level’s Hierarchy (this last one only works if you’re playing in one of our demo maps).

Once you’ve opened it, you can expand all of it by holding Left Alt and clicking on the little arrow at the left of the P_LPSP_FP_CH game object.