Associates the passed custom class instance with the specified key in this object.
Namespace:
Sfs2X.Entities.Data
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public virtual void PutClass(
string key,
Object val
)
Parameters
- key
- Type: SystemString
The key with which the specified custom class instance is to be associated. - val
- Type: SystemObject
The custom class instance to be associated with the specified key.
Implements
ISFSObjectPutClass(String, Object)Remarks
Read the
GetClass(String) method description for more informations.
IMPORTANT: class serialization is not supported in Unity WebGL.
See Also