3DSelfie
Hansjoerg Hofer (1026632), Sebastian Metzler (0927550)
Main Page
Classes
Files
File List
toggleMesh.cs
Go to the documentation of this file.
1
using
UnityEngine
;
2
using
System
.Collections;
3
4
public
class
toggleMesh
: MonoBehaviour {
5
6
// Use this for initialization
7
void
Start () {
8
9
}
10
11
// Update is called once per frame
12
void
Update () {
13
14
GetComponent<MeshRenderer>().enabled = !GameObject.Find(
"Head_mesh"
).GetComponent<MeshRenderer>().enabled;
15
16
17
}
18
}
System
toggleMesh
Definition:
toggleMesh.cs:4
UnityEngine
Assets
Scripts
toggleMesh.cs
Generated on Tue Jun 9 2015 23:14:09 for 3DSelfie by
1.8.9.1