聲明
func AddFormulaPropertyFactor(target entity<Formulable>, propertyID Property, factorType PropertyFormulaFactorType, value float)
go
參數
輸入
名稱 | 類型 | 描述 |
---|---|---|
目標 | FormulableEntity | 目標實體 |
屬性 | Property | 可計算屬性類型 |
屬性因子類型 | FormulaFactorType | 計算因子類型 |
值 | Float | 計算因子值 |