feature-attributes #7

Merged
zephyr merged 10 commits from feature-attributes into main 2023-07-30 10:58:19 -05:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 61b7bbefc0 - Show all commits

View File

@ -6,16 +6,16 @@ public class EffectSO : ScriptableObject
/// <summary> /// <summary>
/// Additive change applied before multiplicative scaling. /// Additive change applied before multiplicative scaling.
/// </summary> /// </summary>
public long Base { get; private set; } public long Base;
zephyr marked this conversation as resolved Outdated

If we private set here is the editor able to set these values?

If we private set here is the editor able to set these values?

Tried some things. It looks like the editor can't set properties at all, only fields.

Tried some things. It looks like the editor can't set properties at all, only fields.
/// <summary> /// <summary>
/// Multiplicative scaling in units of hundredth of a percent. /// Multiplicative scaling in units of hundredth of a percent.
/// E.g., 625 permyriad is 6.25%. /// E.g., 625 permyriad is 6.25%.
/// </summary> /// </summary>
public long Permyriad { get; private set; } public long Permyriad;
/// <summary> /// <summary>
/// Additive change applied after multiplicative scaling. /// Additive change applied after multiplicative scaling.
/// </summary> /// </summary>
public long Flat { get; private set; } public long Flat;
/// <summary> /// <summary>
/// Create a new attribute effect instance. /// Create a new attribute effect instance.