SaveDuringPlayAttribute Class

Cinemachine

SaveDuringPlayAttribute Class

Invoke play-mode-save for a class. This class's fields will be scanned upon exiting play mode, and its property values will be applied to the scene object. This is a stopgap measure that will become obsolete once Unity implements play-mode-save in a more general way.
Inheritance Hierarchy
SystemObject  SystemAttribute
    CinemachineSaveDuringPlayAttribute

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public sealed class SaveDuringPlayAttribute : Attribute
Cinemachine.SaveDuringPlayAttribute = function();

Type.createClass(
	'Cinemachine.SaveDuringPlayAttribute',
	Attribute);

The SaveDuringPlayAttribute type exposes the following members.

Constructors
  NameDescription
Public methodSaveDuringPlayAttribute
Top
See Also