Enable and Disable Mesh by Space key Tutorial 20/24

Advertisemen

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;
}




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


Advertisemen

Disclaimer: Gambar, artikel ataupun video yang ada di web ini terkadang berasal dari berbagai sumber media lain. Hak Cipta sepenuhnya dipegang oleh sumber tersebut. Jika ada masalah terkait hal ini, Anda dapat menghubungi kami disini.

Tidak ada komentar:

Posting Komentar

© Copyright 2017 Tutorial Unity 3D