Sunday, 26 April 2015

Enable and Disable Mesh by Space key Tutorial 20/24

Enable and Disable Mesh by Space key
















Tutorial 20/24

This is Video Response 2 User : Mark Zuck
Attempt One lol
After 24 hours of no sleep or 4 hours sleep in bus  Max lol
And I try 2 make tutorila after direct back from trip Zagreb - klagenfurt - Minimundus - Zagreb
Mega LOL
Look part 2 lol
And Look part 2 lol . Tutorial 21/20 LOL MEGA FAIL  :D












THIS IS Java# script: GOOD 4 2D GAMES AND 3D GAMES !
----------------------------------------­­­­­­­----------------------------------­-­-­-­-­-­-­------

DIRECT DOWNLOAD HERE




THIS IS BACKUP  IN TEXT FORM  TUTORIAL

20/24 Enable and Disable Mesh by Space key

1. Create New java and name it : EnableDisableMesh


2. Copy & Past this text and save java :
----------------------------------------­­­­­------------------------------------­-­-­-­-­-





function Update () {
if (Input.GetKeyDown (KeyCode.Space))
renderer.enabled = false;

if (Input.GetKeyUp (KeyCode.Space))
renderer.enabled = true;
}




 ----------------------------------------­­­­­------------------------------------­-­-­-­-­-


0 comments:

Post a Comment