public static void Build(SnapshotBuilder snapshot) { var texture = AssetDatabase.LoadAssetAtPath <Texture2D>("Assets/Editor/Resources/full.png"); SnapshotUtil.AddTrees(snapshot, texture, 0.35f, 10000, 500, 0); SnapshotUtil.AddSimulationManagerEntity(snapshot); }
public static void Build(SnapshotBuilder snapshot) { var texture = AssetDatabase.LoadAssetAtPath <Texture2D>("Assets/Editor/Resources/perlin.png"); SnapshotUtil.AddSimulationIndividuals(snapshot); SnapshotUtil.AddSimulationCountries(snapshot); SnapshotUtil.AddSimulationManagerEntity(snapshot); }
public static void Build(SnapshotBuilder snapshot) { var texture = AssetDatabase.LoadAssetAtPath <Texture2D>("Assets/Editor/Resources/perlin.png"); SnapshotUtil.AddHQs(snapshot, SimulationSettings.TeamHQLocations); SnapshotUtil.AddNPCsAroundHQs(snapshot, SimulationSettings.TeamHQLocations); SnapshotUtil.AddTrees(snapshot, texture, 0.35f, SimulationSettings.AttemptedTreeCount, SimulationSettings.SpawningWorldEdgeLength, SimulationSettings.TreeJitter); SnapshotUtil.AddPlayerSpawner(snapshot); }