
Maintained by @schattenkindnet | Feel free to contact me ([email protected]) with tips/suggestions/.. | Don't forget the #unitytips on Tuesdays
Joined May 2014
- Tweets1.2K
- Following3
- Followers1.5K
- Likes17
Regex test page: regex101.com/ | c# regex examples dotnetperls.com/regex-match
A tutorial how to use particles to visualize graphs like sine waves | https://teapaw.org/t.co/JdjOOe7kTM
Disable "Edit -> Preferences -> General -> Auto Refresh" to disable recompiling/reloading on change, "Asset -> Refresh" to manually trigger.
|>| Frame Skip Button (next to || Pause) can be used to proceed 1 frame at a time | https://teapaw.org/t.co/vRHdKBPoRV
Start a Coroutine within another Coroutine: "IEnumerator MyCo() { yield return StartCoroutine(OtherCo()); }"
4
[MenuItem ("CONTEXT/Rigidbody/Lala")] adds a menu item called "Lala" to a Rigidbody's context menu | https://teapaw.org/t.co/9xRbhkMjyw
[MenuItem ("Window/Something %g")] with shortcut g (ctrl-g on Windows, cmd-g on OS X) | other modifiers: # shift, & alt , _ no mod
[MenuItem("Assets/My")] static void My() {} creates an My entry in the Asset context menu | thx to salomon | https://teapaw.org/t.co/9xRbhkMjyw
1
foreach (Transform child in transform) iterates over all direct childs | https://teapaw.org/t.co/ggTgQbPWY1
1
2
Check Editor.log "Used Assets, sorted by uncompressed size:" to check why the build is too big | https://teapaw.org/t.co/QynjhLW5Um
"EditorApplication.OpenScene("Assets/Scenes/my.unity");" opens a scene (check SaveCurrentSceneIfUserWantsTo) | https://teapaw.org/t.co/l0WI9u5wRK
1
Notification in editor window | ShowNotification(new GUIContent(EditorGUILayout.TextField("Hello"))); | https://teapaw.org/t.co/3MINiEGm1E
[SelectionBase] attribute to mark its GameObject as a selection base object for Scene View picking | https://teapaw.org/t.co/W8yxw3YsCa
Nice 4.5 details: SelectionBase, DecoratorDrawers, UNITY_PRO_LICENSE define, ability to serialize structs | https://teapaw.org/t.co/piw3qpbRd0
1
In project search "t:scene" shows only scenes, "t:texture" only textures. You can use "t:NAME_A_TYPE_HERE".
4