SlideShare a Scribd company logo
1 of 17
Download to read offline
Unity3D Tips and Tricks or
“You are doing it wrong!”
Taras Leskiv
Unity3D Developer
My experience

■ Plumber Bob
1. You don’t configure your
Xamarin Studio/MonoDevelop
■ In the perfect world (we all like to dream):

+

+
1. You don’t configure your
Xamarin Studio/MonoDevelop
■ Problem – no iOS deployment.

■ You probably do this

or more likely this

■ When opened MonoDevelop the first time my reaction was like this:
(I am former Intellij Idea user)
– How does this IDE differ from text editor?
1. You don’t configure your
Xamarin Studio/MonoDevelop
■ Do your homework and configure it! All you need is disabled by default.
■ Use Monokai syntax highlighting! Why? More colors.
1. You don’t configure your
Xamarin Studio/MonoDevelop
■ Do your homework – it is not that bad.
2. You drag windows all over the
screen!
■ Use layouts!
2. You drag windows all over the
screen!
■ Rearrange items wisely
3. You make variables public to
see them in the inspector!
■ Debug mode

■ Minor stuff :
– Lock inspector view
– Ctrl (cmd) + D, ctrl + shift + N, ctrl + alt + N
– Snapping
4. You copy and paste component
values manually!
5. You don’t use attributes!

■ [Range(-1, 1)] – int, float
■ [RequireComponent(typof(SomeType))]
■ [ExecuteInEditMode]
6. You have a lot of objects in
your scene that are not prefabs!
■ Every distinct object should be prefab – make every gameobject a prefab,
exception – empty objects as folders (benefits – no scene changes)
■ Link prefabs to prefabs – move your connections out of the scene
■ Establish links at programmatically where possible.
7. You are nesting prefabs!

■Just NEVER do this – build your
hierachy of prefabs at runtime.
(Child prefabs just becomes a
part of its parent prefab)
8. You do not take advantage of
icons!
■ Distinguish scripts – color libs.

■ Mark scripts – Interfaces, abstract and static classes
8. You do not take advantage of
icons!
■ Make custom icons for objects in scene you have to find frequently.
9. You don’t use .asset files to
store data!
Questions
Taras Leskiv
Unity3D Developer
developers.nravo.com
leskiv.taras@gmail.com

@tarasleskiv

More Related Content

What's hot

1. production experiments video game (completed)
1. production experiments video game (completed)1. production experiments video game (completed)
1. production experiments video game (completed)
alfieepimblett
 

What's hot (19)

LibGDX: Cross Platform Game Development
LibGDX: Cross Platform Game DevelopmentLibGDX: Cross Platform Game Development
LibGDX: Cross Platform Game Development
 
Jakarta XR Meetup 13 | Digital Happiness deck
Jakarta XR Meetup 13 | Digital Happiness deckJakarta XR Meetup 13 | Digital Happiness deck
Jakarta XR Meetup 13 | Digital Happiness deck
 
1. production experiments video game (completed)
1. production experiments video game (completed)1. production experiments video game (completed)
1. production experiments video game (completed)
 
Project presentation
Project presentationProject presentation
Project presentation
 
Game Idea A Day
Game Idea A DayGame Idea A Day
Game Idea A Day
 
Making HTML5 Games with Phaser
Making HTML5 Games with PhaserMaking HTML5 Games with Phaser
Making HTML5 Games with Phaser
 
How we optimized our Game - Jake & Tess' Finding Monsters Adventure
How we optimized our Game - Jake & Tess' Finding Monsters AdventureHow we optimized our Game - Jake & Tess' Finding Monsters Adventure
How we optimized our Game - Jake & Tess' Finding Monsters Adventure
 
Rapid Game Development with RUby and Gosu – Ruby Manor 4
Rapid Game Development with RUby and Gosu – Ruby Manor 4Rapid Game Development with RUby and Gosu – Ruby Manor 4
Rapid Game Development with RUby and Gosu – Ruby Manor 4
 
An introduction to Generic Game Model
An introduction to Generic Game ModelAn introduction to Generic Game Model
An introduction to Generic Game Model
 
Game devtools
Game devtoolsGame devtools
Game devtools
 
Unity L01 - Game Development
Unity L01 - Game DevelopmentUnity L01 - Game Development
Unity L01 - Game Development
 
Building a game engine with jQuery
Building a game engine with jQueryBuilding a game engine with jQuery
Building a game engine with jQuery
 
HTML5 Mobile Game Development Workshop - Module 2 - HTML5 Developer Conferenc...
HTML5 Mobile Game Development Workshop - Module 2 - HTML5 Developer Conferenc...HTML5 Mobile Game Development Workshop - Module 2 - HTML5 Developer Conferenc...
HTML5 Mobile Game Development Workshop - Module 2 - HTML5 Developer Conferenc...
 
A Brief Guide to Game Engines
A Brief Guide to Game EnginesA Brief Guide to Game Engines
A Brief Guide to Game Engines
 
Beginning android games
Beginning android gamesBeginning android games
Beginning android games
 
Unity - Software Design Patterns
Unity - Software Design PatternsUnity - Software Design Patterns
Unity - Software Design Patterns
 
An Introduction to Unity
An Introduction to UnityAn Introduction to Unity
An Introduction to Unity
 
Game development pipeline
Game development pipelineGame development pipeline
Game development pipeline
 
【Unite 2017 Tokyo】実演!Timeline+Cinemachineによるカットシーン作り
【Unite 2017 Tokyo】実演!Timeline+Cinemachineによるカットシーン作り【Unite 2017 Tokyo】実演!Timeline+Cinemachineによるカットシーン作り
【Unite 2017 Tokyo】実演!Timeline+Cinemachineによるカットシーン作り
 

Similar to Unity3D Tips and Tricks or "You are doing it wrong!"

Sde2012 top ten ux tips win8
Sde2012 top ten ux tips win8Sde2012 top ten ux tips win8
Sde2012 top ten ux tips win8
Dennis Vroegop
 
Session on mockups
Session on mockupsSession on mockups
Session on mockups
Abdul Dibosh
 
Tuxtorial - talk 1 (pdf)
Tuxtorial - talk 1 (pdf)Tuxtorial - talk 1 (pdf)
Tuxtorial - talk 1 (pdf)
prototypeangel
 
Features in love
Features in loveFeatures in love
Features in love
bmeme
 

Similar to Unity3D Tips and Tricks or "You are doing it wrong!" (20)

The Good, the Bad and the Ugly things to do with android
The Good, the Bad and the Ugly things to do with androidThe Good, the Bad and the Ugly things to do with android
The Good, the Bad and the Ugly things to do with android
 
Framer for the win - Using Framer prototypes for your app project. (For Melbo...
Framer for the win - Using Framer prototypes for your app project. (For Melbo...Framer for the win - Using Framer prototypes for your app project. (For Melbo...
Framer for the win - Using Framer prototypes for your app project. (For Melbo...
 
Rasmus, Think Again! Agile Framework == Happy Php Developer
Rasmus, Think Again! Agile Framework == Happy Php DeveloperRasmus, Think Again! Agile Framework == Happy Php Developer
Rasmus, Think Again! Agile Framework == Happy Php Developer
 
Smalltalk in the pocket - Building applications for the iPhone
Smalltalk in the pocket - Building applications for the iPhoneSmalltalk in the pocket - Building applications for the iPhone
Smalltalk in the pocket - Building applications for the iPhone
 
Core data intermediate Workshop at NSSpain 2013
Core data intermediate Workshop at NSSpain 2013Core data intermediate Workshop at NSSpain 2013
Core data intermediate Workshop at NSSpain 2013
 
Bug Hunting Safari
Bug Hunting SafariBug Hunting Safari
Bug Hunting Safari
 
56 interesting ways_to_use_the_interactive_whi
56 interesting ways_to_use_the_interactive_whi56 interesting ways_to_use_the_interactive_whi
56 interesting ways_to_use_the_interactive_whi
 
Debugging JavaScript (by Thomas Bindzus, Founder, Vinagility & Thanh Loc Vo, ...
Debugging JavaScript (by Thomas Bindzus, Founder, Vinagility & Thanh Loc Vo, ...Debugging JavaScript (by Thomas Bindzus, Founder, Vinagility & Thanh Loc Vo, ...
Debugging JavaScript (by Thomas Bindzus, Founder, Vinagility & Thanh Loc Vo, ...
 
vim brownbag - Richard forth
vim brownbag - Richard forthvim brownbag - Richard forth
vim brownbag - Richard forth
 
User Interface is King: Developing a Web App UI
User Interface is King: Developing a Web App UIUser Interface is King: Developing a Web App UI
User Interface is King: Developing a Web App UI
 
Sde2012 top ten ux tips win8
Sde2012 top ten ux tips win8Sde2012 top ten ux tips win8
Sde2012 top ten ux tips win8
 
Session on mockups
Session on mockupsSession on mockups
Session on mockups
 
Core data basic Workshop slides NSSpain 2013
Core data basic Workshop slides NSSpain 2013Core data basic Workshop slides NSSpain 2013
Core data basic Workshop slides NSSpain 2013
 
Spaghetti gate
Spaghetti gateSpaghetti gate
Spaghetti gate
 
Tuxtorial - talk 1 (pdf)
Tuxtorial - talk 1 (pdf)Tuxtorial - talk 1 (pdf)
Tuxtorial - talk 1 (pdf)
 
How to be an Independent Mobile Dev by TJ Grant
How to be an Independent Mobile Dev by TJ GrantHow to be an Independent Mobile Dev by TJ Grant
How to be an Independent Mobile Dev by TJ Grant
 
Features in love
Features in loveFeatures in love
Features in love
 
iPads in the Early Years Classroom
iPads in the Early Years ClassroomiPads in the Early Years Classroom
iPads in the Early Years Classroom
 
Angular 2 and NativeScript
Angular 2 and NativeScriptAngular 2 and NativeScript
Angular 2 and NativeScript
 
Problem solving
Problem solvingProblem solving
Problem solving
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Unity3D Tips and Tricks or "You are doing it wrong!"

  • 1. Unity3D Tips and Tricks or “You are doing it wrong!” Taras Leskiv Unity3D Developer
  • 3. 1. You don’t configure your Xamarin Studio/MonoDevelop ■ In the perfect world (we all like to dream): + +
  • 4. 1. You don’t configure your Xamarin Studio/MonoDevelop ■ Problem – no iOS deployment. ■ You probably do this or more likely this ■ When opened MonoDevelop the first time my reaction was like this: (I am former Intellij Idea user) – How does this IDE differ from text editor?
  • 5. 1. You don’t configure your Xamarin Studio/MonoDevelop ■ Do your homework and configure it! All you need is disabled by default. ■ Use Monokai syntax highlighting! Why? More colors.
  • 6. 1. You don’t configure your Xamarin Studio/MonoDevelop ■ Do your homework – it is not that bad.
  • 7. 2. You drag windows all over the screen! ■ Use layouts!
  • 8. 2. You drag windows all over the screen! ■ Rearrange items wisely
  • 9. 3. You make variables public to see them in the inspector! ■ Debug mode ■ Minor stuff : – Lock inspector view – Ctrl (cmd) + D, ctrl + shift + N, ctrl + alt + N – Snapping
  • 10. 4. You copy and paste component values manually!
  • 11. 5. You don’t use attributes! ■ [Range(-1, 1)] – int, float ■ [RequireComponent(typof(SomeType))] ■ [ExecuteInEditMode]
  • 12. 6. You have a lot of objects in your scene that are not prefabs! ■ Every distinct object should be prefab – make every gameobject a prefab, exception – empty objects as folders (benefits – no scene changes) ■ Link prefabs to prefabs – move your connections out of the scene ■ Establish links at programmatically where possible.
  • 13. 7. You are nesting prefabs! ■Just NEVER do this – build your hierachy of prefabs at runtime. (Child prefabs just becomes a part of its parent prefab)
  • 14. 8. You do not take advantage of icons! ■ Distinguish scripts – color libs. ■ Mark scripts – Interfaces, abstract and static classes
  • 15. 8. You do not take advantage of icons! ■ Make custom icons for objects in scene you have to find frequently.
  • 16. 9. You don’t use .asset files to store data!