UnityMol
0.9.6-875
UnityMol viewer / In developement
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
DirLightManager.cs
Go to the documentation of this file.
1
using
UnityEngine
;
2
using
System
.Collections;
3
using
UI
;
4
5
public
class
DirLightManager
: MonoBehaviour {
6
7
// Use this for initialization
8
void
Start
() {
9
}
10
/*
11
12
void Update () {
13
if( (UIData.atomtype == UIData.AtomType.particleball) || ((UIData.atomtype == UIData.AtomType.hyperball) || (UIData.atomtype == UIData.AtomType.noatom)
14
&& (UIData.bondtype == UIData.BondType.nobond) || (UIData.bondtype == UIData.BondType.line) || (UIData.bondtype == UIData.BondType.hyperstick)) )
15
{
16
obj.GetComponent<Light>().shadows = LightShadows.None;
17
}
18
else
19
{
20
obj.GetComponent<Light>().shadows = LightShadows.Soft;
21
}
22
}*/
23
}
DirLightManager
Definition:
DirLightManager.cs:5
System
UnityEngine
DirLightManager.Start
void Start()
Definition:
DirLightManager.cs:8
UI
Definition:
GUIDisplay.cs:66
Assets
Scripts
Molecule
View
DirLightManager.cs
Generated on Wed Aug 3 2016 15:10:26 for UnityMol by
1.8.11