Jyisnotter
New member
Hi,
I am trying to alter the health attribute but I keep getting a compiler error
My code:
private void Start()
{
var attribute = m_AttributeManager.GetAttribute(“Health”);
attribute.Value += 10;
}
When I compile the code I receive this error:
error CS1056: Unexpected character '"'
I am confused as I got this code directly from the documentation.
opsive.com
Any help at all would be appreciated, thanks in advance
I am trying to alter the health attribute but I keep getting a compiler error
My code:
private void Start()
{
var attribute = m_AttributeManager.GetAttribute(“Health”);
attribute.Value += 10;
}
When I compile the code I receive this error:
error CS1056: Unexpected character '"'
I am confused as I got this code directly from the documentation.

Attributes - Opsive
The Attribute Manager is a component added to your character which can describe a set of values that change over time. These values are called . . .

Any help at all would be appreciated, thanks in advance