示例#1
0
        //this is a test
        public void AddAtmosphere()
        {
            HasAtmosphere = true;
            atmosphere    = new Atmosphere(this.radius * 1.05f, this.radius);
            atmosphere.AddComponent(new HighPrecisionPosition());
            SystemCore.GameObjectManager.AddAndInitialiseGameObject(atmosphere);

            atmosphericScatteringHelper = new GroundScatteringHelper(this.testEffect, radius * 1.05f, radius);
        }