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...
-
This hard-to-see screenshot is a Generic Node Graph Editing framework I'm building. I'm hoping it can be used for any kind of node...
-
So, you've created a car prefab using WheelCollider components, and now you can apply a motorTorque to make the whole thing move along. ...
-
MiddleMan: A Pub/Sub and Request/Response server in Go. This is my first Go project. It is a rewrite of an existing Python server, based o...
-
Unfortunately I've not secured a venue for the GGJ. With 9 days left, things are not looking hopeful. It could be that GGJ Perth will no...
-
Often, when building a game, you need to test if objects are colliding. The objects could be spaceships, rocks, mouse pointers, laser beams....
-
I've just read a newspaper article (courtesy of Kranzky ) from WA Business News documenting the malfeasance, gross negligence and misc...
-
After my last post, I decided to benchmark the scaling properties of Stackless, Kamaelia, Fibra using the same hackysack algorithm. Left axi...
-
Possibly slightly more correct lighting. The rim light is now only applied in the direction of the sun, rather than being purely based on vi...
-
Update: This is another planet shader, with more physical fidelity. Shader "Planet" { Properties { _MainTex ("Diff...