On Custom Property Change

STD 庫
伺服器端與客戶端
限PC端
擁有者:
實體類

When a monitored custom property changes, this event will trigger. Note: if a custom property is modified multiple times within a single frame, this event is only triggered once. When the server modifies a custom property, the event is sent to both endpoints; when a client modifies a local entity's custom property, the event is only delivered locally.

聲明

event OnCustomPropertyChange(propertyIndex Property, propertyValue object)
go

參數

名稱 類型 描述
Property Index Property The property’s index
Property Value Object The property’s new value