update
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user