You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
531 B
26 lines
531 B
namespace Mapbox.Unity.Map
|
|
{
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using Mapbox.Unity.MeshGeneration.Modifiers;
|
|
using System;
|
|
using Mapbox.Unity.Map;
|
|
|
|
[Serializable]
|
|
public class SpawnPrefabOptions : ModifierProperties
|
|
{
|
|
public override Type ModifierType
|
|
{
|
|
get
|
|
{
|
|
return typeof(PrefabModifier);
|
|
}
|
|
}
|
|
|
|
public GameObject prefab;
|
|
public bool scaleDownWithWorld = true;
|
|
[NonSerialized]
|
|
public Action<List<GameObject>> AllPrefabsInstatiated = delegate { };
|
|
}
|
|
} |