UnityMol  0.9.6-875
UnityMol viewer / In developement
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 }
Definition: GUIDisplay.cs:66