Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     m_starSystem = gameObject.GetComponent <ParticleSystem> ();
     m_starParser = StarParser.Instance;
     m_starLabels = new HashSet <StarLabel>();
     SetZoom(zoom);
     AsterismDrawer.LeftCamera        = m_cameraLeft;
     AsterismDrawer.RightCamera       = m_cameraRight;
     m_starParser.StarsLoadedHandler += onStarsLoaded;
 }
Esempio n. 2
0
 void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else
     {
         throw new System.Exception("Attempting to create multiple StarParser instances.");
     }
 }
Esempio n. 3
0
 // Use this for initialization
 void Start()
 {
     Application.targetFrameRate = 120;
     //m_starSystem = gameObject.GetComponent<ParticleSystem> ();
     m_starParser          = StarParser.Instance;
     m_starLabels          = new HashSet <StarLabel>();
     m_constellationLabels = new HashSet <ConstellationLabel>();
     SetZoom(zoom);
     AsterismDrawer.Target            = m_target;
     m_starParser.StarsLoadedHandler += onStarsLoaded;
 }
Esempio n. 4
0
 void Awake()
 {
     if (Instance == null) {
             Instance = this;
     } else {
             throw new System.Exception ("Attempting to create multiple StarParser instances.");
     }
 }
Esempio n. 5
0
 // Use this for initialization
 void Start()
 {
     m_starSystem = gameObject.GetComponent<ParticleSystem> ();
       m_starParser = StarParser.Instance;
       m_starLabels = new HashSet<StarLabel>();
       SetZoom(zoom);
       AsterismDrawer.LeftCamera = m_cameraLeft;
       AsterismDrawer.RightCamera = m_cameraRight;
       m_starParser.StarsLoadedHandler += onStarsLoaded;
 }
Esempio n. 6
0
 // Use this for initialization
 void Start()
 {
     Application.targetFrameRate = 120;
       //m_starSystem = gameObject.GetComponent<ParticleSystem> ();
       m_starParser = StarParser.Instance;
       m_starLabels = new HashSet<StarLabel>();
       m_constellationLabels = new HashSet<ConstellationLabel>();
       SetZoom(zoom);
       AsterismDrawer.Target = m_target;
       m_starParser.StarsLoadedHandler += onStarsLoaded;
 }