Пример #1
0
    public void InitStarsMesh()
    {
        StarField Stars = new StarField();

        m_starsMesh = new Mesh();
        Stars.InitializeStarfield(ref m_starsMesh);
    }
Пример #2
0
 protected void InitStarsMesh()
 {
     Stars               = new StarField();
     starsMesh           = Stars.InitializeStarfield();
     starsMesh.hideFlags = HideFlags.DontSave;
     if (starsMesh == null)
     {
         Debug.Log(" Can't find or read <b>StarsData.bytes</b> file.");
     }
 }