If nothing is selected, mouse down selects a new item.
If one item is selected, mouse down on a differet item selects that item.
If one item is selected, mouse up on that item will rename the item.
If one or no items are selected, mouse down + ctrl can select multiple items.
Mouse down and shift will select all items between the first selected item and the mouse down item.
If more than one item is selected, mouse up on a selected item will isolate and select that item.
If more than one item is selected, mouse down on a unselected item will select that item.
If one or more items are selected, mouse down on a selected item will start a drag operation after mouse movement.
- Unless ctrl is held, which will remove the selected item from the selection.
Entity Crisis
The blog of Simon Wittber.
Tuesday, October 08, 2019
Monday, May 20, 2019
Building large worlds in Unity.
I made something which lets you render very large worlds with a small farClipPlane.
https://github.com/simonwittber/scaled-origin
The demo shows an earth sized planet viewed from about 1000km altitude. It's great for Space Games, like this one I've been working on recently.
Tuesday, February 12, 2019
Thursday, September 06, 2018
.Net reflection is expensive in more ways than I thought...
Enter statements below. csharp> var t = typeof(int); csharp> Object.ReferenceEquals(t.AssemblyQualifiedName, t.AssemblyQualifiedName); falseEvery access to the AssemblyQualifiedName property does some lookup work… and returns a NEW copy of the string.
It’s _almost_ as if one might recommend caching every property, because you never know what it might be doing, and avoid creating auto properties (in place of public fields), so that you know when there is no need to cache the value.
Friday, August 03, 2018
Subscribe to:
Posts (Atom)
Popular Posts
-
These are the robots I've been working on for the last 12 months. They each weigh about 11 tonnes and have a 17 meter reach. The control...
-
So, you've created a car prefab using WheelCollider components, and now you can apply a motorTorque to make the whole thing move along. ...
-
The procedural planet package has been updated to version 1.4, and you can see the new demo here . It features better city light control, be...
-
Why would I ask that question? Python 3 has been available for some time now, yet uptake is slow. There aren't a whole lot of packages i...
-
I've just finished refactoring an awful C# class. I had been delaying the job for a while because I didn't want to do it. Then, whil...
-
Summary: NodeJS wins. Test Program ab -n 10000 -c 5 http://localhost/ Gevent Code from gevent import wsgi class WebServer(object): def a...
-
Often, when building a game, you need to test if objects are colliding. The objects could be spaceships, rocks, mouse pointers, laser beams....
-
Dear Lazyweb. Imagine a nice RESTful interface for working with Tags. The URL: /tags/ will return a list of all the tags. The URL: /tags/fo...
-
I have just spent an hour trying to track down a weird bug in some Javascript interpolation code. The offending code looks like this: var n ...
-
I've been investigating different .net languages for use with Mono. I've spent some time with Boo , and have decided I don't lik...