Add editor accses to outline colors
This commit is contained in:
@@ -30,7 +30,8 @@ namespace AppleHills.Editor
|
||||
GetPlayerStopDistance,
|
||||
GetPlayerStopDistanceDirectInteraction,
|
||||
GetPuzzlePromptRange,
|
||||
GetWeakPointExplosionRadius
|
||||
GetWeakPointExplosionRadius,
|
||||
GetInteractionOutlineColors
|
||||
);
|
||||
|
||||
// Subscribe to asset changes to auto-refresh when settings are modified
|
||||
@@ -74,7 +75,8 @@ namespace AppleHills.Editor
|
||||
GetPlayerStopDistance,
|
||||
GetPlayerStopDistanceDirectInteraction,
|
||||
GetPuzzlePromptRange,
|
||||
GetWeakPointExplosionRadius
|
||||
GetWeakPointExplosionRadius,
|
||||
GetInteractionOutlineColors
|
||||
);
|
||||
|
||||
Logging.Debug("Editor settings loaded for Scene View use");
|
||||
@@ -108,6 +110,12 @@ namespace AppleHills.Editor
|
||||
return _fortFightSettings?.WeakPointExplosionRadius ?? 2.5f;
|
||||
}
|
||||
|
||||
// Interaction Settings delegate methods
|
||||
private static System.Collections.Generic.List<GlowOutlineData> GetInteractionOutlineColors()
|
||||
{
|
||||
return _interactionSettings?.InteractionOutlineColors;
|
||||
}
|
||||
|
||||
// Other utility methods
|
||||
public static T GetSettings<T>() where T : BaseSettings
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user