Cleanup 2

This commit is contained in:
W2.Wizard
2021-02-21 10:23:01 +01:00
parent 52bc268ee7
commit 92fafe877c
11 changed files with 234 additions and 143 deletions

View File

@@ -138,8 +138,11 @@ namespace FlaxEditor.Modules
public void CreateSceneFile(string path)
{
// Create a sample scene
var scene = new Scene();
scene.StaticFlags = StaticFlags.FullyStatic;
var scene = new Scene
{
StaticFlags = StaticFlags.FullyStatic
};
//
var sun = scene.AddChild<DirectionalLight>();
sun.Name = "Sun";