lib-unity-demo-shader-Assets-Show-Overdraw-ShowOverdrawToggle.js / js
function Update() { if (Input.GetKeyDown("space")) { var overdraw : ShowOverdraw = GetComponent(ShowOverdraw); overdraw.fullOverdraw = !overdraw.fullOverdraw; } }
(C) Æliens 04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.