Shorter Cleaner Code with Extension Methods - C# and Unity
C# extension methods help you write less code and cleaner code with fewer bugs. You can extend any class or struct even built-in types in Unity or assets from the Asset Store.
Timestamps ************* 0:00 The Problem 0:20 How do Extension Methods help? 0:45 Side Note 0:56 How do they work? Why are they better? 2:40 Important Details 3:00 Basic Examples 3:25 Inheritance 3:45 Generics 4:10 THE END
Object pooling is one of those programming patterns that every game developer should be making use of in their project. Spawn objects faster and more efficiently. It can save memory and CPU cycles while preventing frustrating lag spikes for players. This video looks at using C# with Unity to create two different approaches to object pooling.
Object Pooling Blog Post: https://onewheelstudio.com/blog/2020/7/15/object-pooling
Project Files: https://github.com/onewheelstudio/Programming-Patterns
Become A Channel Member: https://www.youtube.com/channel/UCkr9CPPqT9VWUjkpo3HcACg/join
Suggested Game Dev Reading: https://kit.co/onewheelstudio/game-design-reading-list-unity-c-blender-and-more
My video and streaming kit: https://kit.co/onewheelstudio/tutorial-video-production
Discord: http://discord.onewheelstudio.com
Patreon: https://www.patreon.com/onewheelstudio
Twitter: https://twitter.com/OneWheelStudio
Devlog: https://onewheelstudio.com/
Twitch: https://go.twitch.tv/onewheelstudio
Timecodes
What is Object Pooling? 0:00
Two Approaches 1:23
What is a Queue? 1:50
Object Pool Simple 2:40
Spawner Simple 4:57
Object Return Simple 5:54
Implement Simple 6:11
Why Second Approach? 6:57
Object Pool Advanced 7:43
Spawner Advanced 9:53
Return Advanced 10:16
Implement Advanced 10:24
Supporters!!! 10:59
Outtake 11:17
#UnityTutorial #GameDevelopment #programmingpatterns #objectpooling
...
https://www.youtube.com/watch?v=wGgeCki1vC8
The number pad in Blender is used to change views and can streamline your workflow. Snap to an axis, zoom into the selected object, or see the camera's view.
Become A Channel Member: https://www.youtube.com/channel/UCkr9CPPqT9VWUjkpo3HcACg/join
My video and streaming kit: https://kit.co/onewheelstudio/tutorial-video-production
Discord: http://discord.onewheelstudio.com
Patreon: https://www.patreon.com/onewheelstudio
Twitter: https://twitter.com/OneWheelStudio
Devlog: https://onewheelstudio.com/
Twitch: https://go.twitch.tv/onewheelstudio
0:00 Intro
0:32 Emulate Numpad
0:57 Changing Views
1:35 Rotating
2:00 Zoom In & Out
2:24 Local View
2:43 Focus on Selection
3:05 Orthographic Toggle
4:25 THE END
#BlenderBasics #LowPoly #GameDevelopment
...
https://www.youtube.com/watch?v=Hdb2Md0Re9I
I take a look at super units in Bolt visual scripting. This is one of the reasons I chose to go with Bolt over Playmaker. Simplify you code and make it easier to maintain all with super units! If you are building a game with Bolt then you should be using super units. Jump to 2:45 for the creation of the super unit.
Bolt on the Asset Store: https://assetstore.unity.com/packages/tools/visual-scripting/bolt-87491?aid=1100lHSw
OWS Merch (WIP)
Hoodie: https://teespring.com/new-lets-get-started#pid=227&cid=2661&sid=front
T-Shirt: https://teespring.com/new-lets-get-started#pid=211&cid=5288&sid=front
Sticker: https://teespring.com/ows-blue-logo-sticker#pid=794&cid=103544&sid=front
Discord: http://discord.onewheelstudio.com
Patreon: https://www.patreon.com/onewheelstudio
Twitter: https://twitter.com/OneWheelStudio
Devlog: https://onewheelstudio.com/
Twitch: https://go.twitch.tv/onewheelstudio
#boltvisualscripting #unitytutorial #gamedevelopment #bolttutorial #unitytutorial
...
https://www.youtube.com/watch?v=v5OaWzXdidg
Speed up your programming with Visual studio shortcuts and build your Unity game faster. Rename, move lines, refactor to a method, format file, collapse to definition, find all references, and more!
Support the Channel!
**********************
► Buy me a coffee: https://www.buymeacoffee.com/onewheelstudio
► Shop the Unity Asset Store (affiliate): https://assetstore.unity.com/top-assets/top-paid?aid=1100lHSw
► Become A Channel Member: https://www.youtube.com/channel/UCkr9CPPqT9VWUjkpo3HcACg/join
► Or a Patron: https://www.patreon.com/onewheelstudio
► My video and streaming kit: https://kit.co/onewheelstudio/tutorial-video-production
► Buy a Game Design Book: https://kit.co/onewheelstudio/game-design-reading-list-unity-c-blender-and-more
Video Gear List (Amazon Affiliate)
***********************************
► Sony A6100 Camera: https://amzn.to/32logXz
► Sigma 16mm 1.4 Camera Lens: https://amzn.to/3KA4Wr4
► GoXLR (audio interface): https://amzn.to/35dmr03
► Shure SM7B Mic: https://amzn.to/3fNbV1E
► Blue Mic Arm: https://amzn.to/3tHgwdQ
Neewer Light: https://amzn.to/3rD8eRv
Light Softbox: https://amzn.to/3GUaHgQ
Neewer RGB Light: https://amzn.to/3rCTQJ9
Other Links
************
Discord: http://discord.onewheelstudio.com
Twitter: https://twitter.com/OneWheelStudio
Devlog: https://onewheelstudio.com/
Twitch: https://go.twitch.tv/onewheelstudio
Timestamps
*************
0:00 Intro
0:23 Cut Entire Line
0:51 Comment & UnComment
1:17 Add Line Above & Below
1:55 Rename (Anything)
3:07 Go To Definition
3:39 Find All References
4:26 Refactor to Method
5:30 Move Code Up/Down
6:09 Format Document
6:42 Surround with Snippet
7:17 Collapse Class to Definitions
7:49 Organize Using Statements
8:23 Quick Fix (Add Methods)
9:46 Solution Explorer
10:51 Unity Project Explorer
11:40 Change Clothes & Unshave
#GameDevelopment #Unity3D #indiedeveloper
...
https://www.youtube.com/watch?v=My0o3k5hjyI
In this programming challenge use any programming language or environment to procedurally create a square grid of objects. Create variables to control the size and spacing of the grid, then use UGUI sliders to set the values of those variables in real time. Finally, assign a random color to each object. If that's not enough, do it all with out an update function or update event.
ScreenCastify: https://chrome.google.com/webstore/detail/screencastify-screen-vide/mmeijimgabbpbgpdklnllpncmdofkcpn?hl=en
ScreenCastify To YouTube: https://help.screencastify.com/article/149-publish-a-recording-to-youtube
Bolt on the Asset Store: https://assetstore.unity.com/packages/tools/visual-scripting/bolt-87491?aid=1100lHSw
Playmaker on the Asset Store: https://assetstore.unity.com/packages/tools/visual-scripting/playmaker-368?aid=1100lHSw
OWS Merch (WIP)
Hoodie, T-Shirts and Stickers: http://merch.onewheelstudio.com
Discord: http://discord.onewheelstudio.com
Patreon: https://www.patreon.com/onewheelstudio
Twitter: https://twitter.com/OneWheelStudio
Devlog: https://onewheelstudio.com/
Twitch: https://go.twitch.tv/onewheelstudio
YouTube: https://www.youtube.com/channel/UCkr9CPPqT9VWUjkpo3HcACg
Game Design Resources:
The Art of Game Design (Book): https://amzn.to/2XiWJP3
The Art of Game Design (Cards): https://amzn.to/2BPtHxx
A Theory of Fun(Book): https://amzn.to/2U7E6fi
#Unity #ProgrammingChallenges #LearnToCode #BoltVisualScripting #Playmaker #OneWheelStudio Become A Channel Member: https://www.youtube.com/channel/UCkr9CPPqT9VWUjkpo3HcACg/join My video and streaming kit: https://kit.co/onewheelstudio/tutorial-video-production
...
https://www.youtube.com/watch?v=qZY5oEccZDM
WML (Steam): https://store.steampowered.com/app/1446560/Wheres_My_Lunch/
I work. You work. Questions answered. We all need time to work on our projects. So load up yours. I'll load up mine. And let's get some work done. C# or Bolt who cares let's just get it done.
Game Design Reading List (WIP): https://kit.co/onewheelstudio/game-design-reading-list-unity-c-blender-and-more
My video and streaming kit: https://kit.co/onewheelstudio/tutorial-video-production
T-Shirts: https://onewheelstudio.com/merch/
Discord: http://discord.onewheelstudio.com
Patreon: https://www.patreon.com/onewheelstudio
Twitter: https://twitter.com/OneWheelStudio
Devlog: https://onewheelstudio.com/
Twitch: https://go.twitch.tv/onewheelstudio
#Wheresmylunch #GameDevelopment #gamedevchat
...
https://www.youtube.com/watch?v=91kzGxH0q2c
In this live stream I take the C# code that generated the stylized "Loot Effect" and translate it into Bolt Flow Macros. A shorter tutorial video for the C# code can be found at this link (will go live in on October 5th 2019): https://www.youtube.com/watch?v=lqGlBMe-Pqw
Bolt on the Asset Store: https://assetstore.unity.com/packages/tools/visual-scripting/bolt-87491?aid=1100lHSw
Low Poly RPG Item Pack: https://assetstore.unity.com/packages/3d/props/low-poly-rpg-item-pack-76088?aid=1100lHSw
RPG Food & Drinks: https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067?aid=1100lHSw
PGR Poly Pack: https://assetstore.unity.com/packages/3d/environments/landscapes/rpg-poly-pack-lite-148410?aid=1100lHSw
OWS Merch (WIP)
Hoodie, T-Shirts and Stickers: http://merch.onewheelstudio.com
Discord: http://discord.onewheelstudio.com
Patreon: https://www.patreon.com/onewheelstudio
Twitter: https://twitter.com/OneWheelStudio
Devlog: https://onewheelstudio.com/
Twitch: https://go.twitch.tv/onewheelstudio
YouTube: https://www.youtube.com/channel/UCkr9CPPqT9VWUjkpo3HcACg
Game Design Resources:
The Art of Game Design (Book): https://amzn.to/2XiWJP3
The Art of Game Design (Cards): https://amzn.to/2BPtHxx
A Theory of Fun(Book): https://amzn.to/2U7E6fi
#boltvisualscripting #gamedevelopment #lowpoly
...
https://www.youtube.com/watch?v=rebsiecmtWw
Create random wander behavior as part of a State Machine with Bolt visual scripting use Unity's built in Navigation system (nav mesh).
Bolt on the Asset Store: https://assetstore.unity.com/packages/tools/visual-scripting/bolt-87491?aid=1100lHSw
Discord: http://discord.onewheelstudio.com
Patreon: https://www.patreon.com/onewheelstudio
Twitter: https://twitter.com/OneWheelStudio
Devlog: https://onewheelstudio.com/
Twitch: https://go.twitch.tv/onewheelstudio
Bolt(Paid): https://assetstore.unity.com/packages/tools/visual-scripting/bolt-87491?aid=1100lHSw
Free assets used for the tutorial.
Terrain: https://app.box.com/s/bnq053yaf0qsw76w2b93muho0itg075i
Character Assets: https://assetstore.unity.com/packages/3d/characters/toony-tiny-ww1-soldiers-demo-115694?aid=1100lHSw
Environment: https://assetstore.unity.com/packages/3d/polygon-city-pack-environment-and-interior-free-101685?aid=1100lHSw
Environment: https://assetstore.unity.com/packages/3d/vegetation/poly-style-vegetation-pack-104112?aid=1100lHSw
Water: https://assetstore.unity.com/packages/vfx/shaders/water-effect-fits-for-lowpoly-style-87810?aid=1100lHSw
Rocks: https://assetstore.unity.com/packages/3d/props/exterior/low-poly-styled-rocks-43486?aid=1100lHSw
SFX: https://assetstore.unity.com/packages/audio/sound-fx/action-sfx-vocal-kit-62378?aid=1100lHSw
Icons: https://assetstore.unity.com/packages/2d/gui/icons/simple-vector-icons-101218?aid=1100lHSw
Font: https://www.dafont.com/cleanwork.font
Windows Build of the “Game”: https://app.box.com/s/d9j6inlkv5m8yxwhy2lcyukz3mo63c5o #boltvisualscripting #gamedevelopment #UnityTutorial #bolttutorial #unitytutorial
...
https://www.youtube.com/watch?v=8frLt4OQEew
Deleting objects in Blender 2.9 is quick and easy in object mode, but a bit trickier in edit mode.
Become A Channel Member: https://www.youtube.com/channel/UCkr9CPPqT9VWUjkpo3HcACg/join
My video and streaming kit: https://kit.co/onewheelstudio/tutorial-video-production
Discord: http://discord.onewheelstudio.com
Patreon: https://www.patreon.com/onewheelstudio
Twitter: https://twitter.com/OneWheelStudio
Devlog: https://onewheelstudio.com/
Twitch: https://go.twitch.tv/onewheelstudio
0:00 Intro
0:10 Deleting Object Mode
0:25 Deleting Edit Mode
1:39 THE END
#BlenderBasics #LowPoly #GameDevelopment
...
https://www.youtube.com/watch?v=F9XJHWvDU5E