Skip to content

Latest commit

 

History

History

Example.Unity

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Unicolour in Unity

This example demonstrates how Unicolour can be used in Unity for 3D visualisation of colour spaces.

☢️ This is the first time I've made anything in Unity and is unlikely to follow best practices!

Key points

  1. It is mostly a default Unity scene
  2. Colours and positions of spheres are calculated using Unicolour
  3. Unicolour is referenced as an external DLL by placing Wacton.Unicolour.dll into Assets/Plugins
  4. Unicolour is used as normal in Assets/Scripts/ColourController.cs
  5. Confirmed to work when built for Windows and WebGL

Controls

  • Left Mouse · next colour space
  • Right Mouse · previous colour space
  • Tab · toggle movement on/off
  • Mouse · look
  • WASD · move forward, backward, left, right
  • SpaceCtrl · move up, down
  • Shift · hold to move faster
  • QE · roll left, right
  • Esc · quit