Esempio n. 1
0
        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.AddPlayerSpawner(snapshot);
        }
Esempio n. 2
0
        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);
        }