Photon Fusion 2.1.1

TickRateDivisorAttribute(string propertyName, string obsoleteIndexName, bool forceOne=false) Class Reference

An attribute marking a field as a divisor of a tick rate. More...

Inherits PropertyAttribute.

Properties

bool ForceOne = forceOne [get]
 Is the ratio 1:1 forced?
string ObsoleteIndexName = obsoleteIndexName [get]
 The name of the obsolete property which held the old index value. Needed due to Unity editor quirks when serializing fields that share the same [FieldOffset] to avoid changes to one field being overwritten by the other.
string PropertyName = propertyName [get]
 The name of the property that holds the actual tick rate.
Properties inherited from PropertyAttribute
new bool applyToCollection [get]

Additional Inherited Members

Public Member Functions inherited from PropertyAttribute
 PropertyAttribute (bool applyToCollection=false)

Detailed Description

An attribute marking a field as a divisor of a tick rate.