Recreating Islanders - Instantiate GameObject , Prefabs and Mouse Input in Unity - Part 3

Опубликовано: 24 Октябрь 2024
на канале: Anfractuous Dev
488
9

This is a re-release of a video from my old channel, A Digital Mind. Part of a series of Unity tutorials. In this tutorial we work through the basics of how to use a Raycast to detect a position in the 3D World space with the mouse and then place an object in that location. Following this, all the code is refactored to make it 'game' ready. It does assume some basic Unity background but even beginners shouldn't struggle too much :)

This tutorial discusses Unity features such as:

Raycast
Input
GetMouseButtonDown
Raycasthit
Normal
Renderer
SetActive
Bounds
ScreenPointToRay
Tranform.Position
LayerMask
GameObject
Instantiate
Prefab
Private / Public Methods and Variables

This series of video is demonstrating how to recreate the Mechanics used in the Islanders game by Grizzly Bear. A fun game available on Steam for a small sum of money.

Don't forget to hit Like if you find this video helpful and not to miss out on our future videos, ensure you hit Subscribe!

Links:
Twitter -   / anfractuousone  
Twitch -   / anfractuous_dev  
Website - https://www.anfractuous.co.uk