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.
mapbox-sdk/Unity/DataContainers/SpawnPrefabOptions.cs

26 lines
531 B

6 months ago
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 { };
}
}