// 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; }
void Awake() { if (Instance == null) { Instance = this; } else { throw new System.Exception("Attempting to create multiple StarParser instances."); } }
// 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; }
void Awake() { if (Instance == null) { Instance = this; } else { throw new System.Exception ("Attempting to create multiple StarParser instances."); } }
// 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; }
// 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; }