Haytam95
Active member
Hi, i have just a small catch in Interact.cs ability:
string.Format isn't doing anything, it just leaves the original ability message.
Here is the proof:
Left: Interact ability Right: SoundPlayerInteractable (extends Interactable)
With string format:
With normal concatenation:
With normal concatenation string.Concat() it's working okay (if that is the objective). If the objective is just replace it, maybe just return m_interactable.AbilityMessage();
string.Format isn't doing anything, it just leaves the original ability message.
Here is the proof:
Left: Interact ability Right: SoundPlayerInteractable (extends Interactable)
With string format:
With normal concatenation:
With normal concatenation string.Concat() it's working okay (if that is the objective). If the objective is just replace it, maybe just return m_interactable.AbilityMessage();