using Opsive.UltimateCharacterController.Traits;
using UnityEngine;
public class AttributeScript : MonoBehaviour
{
public AttributeManager attributeManager;
public string attributeName;
Attribute attribute;
private void Start()
{
attribute = attributeManager.GetAttribute(attributeName);
attribute.Value = 45;
attribute.AutoUpdateValueType = Attribute.AutoUpdateValue.Decrease;
}
}