using System.Collections; using System.Collections.Generic; using AYellowpaper.SerializedCollections; using BITKit; using UnityEngine; namespace BITFALL.Entities { public class EntityReplaceComponent : MonoBehaviour { public SerializedDictionary Dictionary; [BIT] private void Setup() { foreach (var variable in transform.GetComponentsInChildren()) { Dictionary.TryAdd(variable.name, variable); } #if UNITY_EDITOR UnityEditor.EditorUtility.SetDirty(this); #endif } } }