Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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 lik...
1. You don’t configure your
Xamarin Studio/MonoDevelop
■ Do your homework and configure it! All you need is disabled by de...
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...
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 gam...
7. You are nesting prefabs!

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

■ Mark scripts – Interfaces, abstract and stat...
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
Upcoming SlideShare
Loading in …5
×

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

20,488 views

Published on

Presentation about small tips how to improve your efficiency when working with #Unity3D game engine.

Published in: Technology, Spiritual

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

  1. 1. Unity3D Tips and Tricks or “You are doing it wrong!” Taras Leskiv Unity3D Developer
  2. 2. My experience ■ Plumber Bob
  3. 3. 1. You don’t configure your Xamarin Studio/MonoDevelop ■ In the perfect world (we all like to dream): + +
  4. 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. 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. 6. 1. You don’t configure your Xamarin Studio/MonoDevelop ■ Do your homework – it is not that bad.
  7. 7. 2. You drag windows all over the screen! ■ Use layouts!
  8. 8. 2. You drag windows all over the screen! ■ Rearrange items wisely
  9. 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. 10. 4. You copy and paste component values manually!
  11. 11. 5. You don’t use attributes! ■ [Range(-1, 1)] – int, float ■ [RequireComponent(typof(SomeType))] ■ [ExecuteInEditMode]
  12. 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. 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. 14. 8. You do not take advantage of icons! ■ Distinguish scripts – color libs. ■ Mark scripts – Interfaces, abstract and static classes
  15. 15. 8. You do not take advantage of icons! ■ Make custom icons for objects in scene you have to find frequently.
  16. 16. 9. You don’t use .asset files to store data!
  17. 17. Questions Taras Leskiv Unity3D Developer developers.nravo.com leskiv.taras@gmail.com @tarasleskiv

×