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.
18 lines
454 B
18 lines
454 B
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Unity.FPS.Game
|
|
{
|
|
public class PrefabReplacer : MonoBehaviour
|
|
{
|
|
[System.Serializable]
|
|
public struct ReplacementDefinition
|
|
{
|
|
public GameObject SourcePrefab;
|
|
public GameObject TargetPrefab;
|
|
}
|
|
|
|
public bool SwitchOrder;
|
|
public List<ReplacementDefinition> Replacements = new List<ReplacementDefinition>();
|
|
}
|
|
}
|