文档

Unity Engine

Unity Engine

MakeSerializableAttribute(Type)

The constructor for the MakeSerializable attribute.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public MakeSerializableAttribute(Type type)

Parameters

type

The type to register as serializeable.

Remarks

Mark a type as Serializable.
Additional Resources: MakeSerializable.