18 lines
454 B
C#
18 lines
454 B
C#
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>();
|
|
}
|
|
} |