Skip to content

Solves the challenge issued at the end of the "How to select multiple objects based on the center of a collider"

License

Notifications You must be signed in to change notification settings

gamedev-resources/challenge-review-extend-selection-logic

Repository files navigation

View the entire tutorial on What Up Games.

Challenge Solution: Extending the selection logic

This tutorial was created with Unity version 2019.2.

A challenge was issued at the end of the How to select multiple objects based on the center of a collider tutorial to extend the mechanic by adding the ability to add/remove objects from an existing selection and clear the selection with a button click. This tutorial walks through how I chose to solve that challenge.

Learning Outcomes

  1. Apply knowledge gained from the tutorial series.

Prerequisites

This is a continuation of the How to select multiple objects based on the center of a collider tutorial, which is part two of the Input System series. You can skip previous tutorials by cloning the starterProject in the repository.

Note: This tutorial will not cover previous topics in depth (such as how the Input Manager works). It is recommended that you start from the beginning of the series if you are missing any concepts.

Demo of Final Result

Resources

  1. This project uses the Low Poly: Free Pack by AxeyWorks.

About

Solves the challenge issued at the end of the "How to select multiple objects based on the center of a collider"

Resources

License

Stars

Watchers

Forks

Languages