我说次元斩
This commit is contained in:
@@ -15,8 +15,12 @@ namespace Cielonos.MainGame
|
||||
[DictionaryDrawerSettings(KeyLabel = "VFX Name", DisplayMode = DictionaryDisplayOptions.ExpandedFoldout)]
|
||||
[Searchable]
|
||||
public OrderedDictionary<string, VFXUnit> collection = new OrderedDictionary<string, VFXUnit>();
|
||||
|
||||
public VFXUnit Get(string effectName) => collection[effectName];
|
||||
|
||||
public VFXUnit Get(string effectName)
|
||||
{
|
||||
if (string.IsNullOrEmpty(effectName)) return null;
|
||||
return collection.GetValueOrDefault(effectName);
|
||||
}
|
||||
}
|
||||
|
||||
public partial class VFXData
|
||||
|
||||
Reference in New Issue
Block a user