Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

This is how I configure New Input for the 3rd person role-playing games that I'm working on.

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

sci-comp/Archived_ThirdPersonRPGInputForUnity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Third Person RPG Input

Introduction

This is a default configuration for Unity's New Input system that I use for my third person role-playing games. This implementation is designed to be used with the PlayerInput component.

This package includes InputHub.cs, which is a static class that can be read from anywhere. This simple approach works well for single player games, but will need rethinking for multiplayer or co-op implementation.

This configuration uses two control schemes: Player and Menu.

Player,

Player Actions

Menu,

Menu Actions

By assigning references in PlayerInput.cs to their respective methods in InputHub.cs, we can use InputHub.Instance from anywhere to check the current state of an input action. There are two states: IsPressed and WasPressedThisFrame.

Player Input

This package is actively being worked on. Demo scenes, documentation, and prefabs are comming soon!

About

This is how I configure New Input for the 3rd person role-playing games that I'm working on.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Languages