UseUnity's new input system and C# create a basic camera controller for a strategy game - RTS, 4X, tycoon or more. The camera has smooth horizontal movement, smooth rotation, zoom in and out, mouse to the screen edge and dragging with a mouse click.
Strategy Camera Blog Post: onewheelstudio.com/blog/2022/...
Project Files: github.com/onewheelstudio/Adv...
Want to support the Channel?
*******************************
Shop the Unity Asset Store (affiliate): assetstore.unity.com/top-asse...
Become A Channel Member: / @onewheelstudio
Or a Patron: / onewheelstudio
Grab a T-Shirt: onewheelstudio.com/merch/
My video and streaming kit: kit.co/onewheelstudio/tutoria...
Buy a Game Design Book: kit.co/onewheelstudio/game-de...
Strategy Camera Blog Post: onewheelstudio.com/blog/2022/...
Project Files: github.com/onewheelstudio/Adv...
Video Gear List (Amazon Affiliate)
***********************************
Sony A6100 Camera: amzn.to/32logXz
Sigma 16mm 1.4 Camera Lens: amzn.to/3KA4Wr4
GoXLR (audio interface): amzn.to/35dmr03
Shure SM7B Mic: amzn.to/3fNbV1E
Blue Mic Arm: amzn.to/3tHgwdQ
Neewer Light: amzn.to/3rD8eRv
Light Softbox: amzn.to/3GUaHgQ
Neewer RGB Light: amzn.to/3rCTQJ9
Other Links
************
Discord: discord.onewheelstudio.com
Twitter: / onewheelstudio
Devlog: onewheelstudio.com/
Twitch: / onewheelstudio
Timestamps
*************
0:00 Intro
0:45 Camera Rig
2:26 Input Action Asset
5:39 Creating Class
6:32 Poop Ton of Variables
9:22 Horizontal Motion
15:41 Get Camera Directions
20:31 Rotational Motion
23:57 Zoom
31:12 Fixing Zoom
32:07 Screen Edge Movement
36:24 Camera Drag
41:27 THE END
#NewInputSystem #Unity3D #GameDevelopment
Негізгі бет Strategy Game Camera with Unity's New Input System
Пікірлер: 116