GithubHelp home page GithubHelp logo

gamedev-resources / listen-for-input-system-events-via-csharp Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 764 KB

Learn how to listen for Input System Action callbacks via C#

License: Creative Commons Zero v1.0 Universal

C# 100.00%

listen-for-input-system-events-via-csharp's Introduction

View the entire tutorial on What Up Games.

Listen for the Input System's Action events via C#

This tutorial was created with Unity version 2019.2.

In certain scenarios it may be beneficial to listen for Input System Action callbacks via C#, rather than using the built in Player Input component. This tutorial will walk through writing an InputManager script to listen for and route such events.

Prerequisites

This is a continuation of the How to make a configurable camera with the new Input System tutorial series, which covers fundamental knowledge of the Input System. While not recommended, (unless you are already familiar with the Input System) you can skip tutorial by cloning the starterProject in this section of the repository.

Learning Outcomes

  1. Understand the different Input System Action callbacks and how to hook them up via C#

Resources

  1. Comments, concerns and/or questions can be posted here.
  2. Part 1 Tutorial: How to make a configurable camera with the new Input System
  3. Input System documentation and GitHub repository.
  4. Introducing the new Input System - Unite Copenhagen Video
  5. This project uses the Low Poly: Free Pack by AxeyWorks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.