SerializedComponentDataEditorWindow<TObject, TData> Class

Summary

[Editor-Only] A Animancer.Editor.SerializedDataEditorWindow`2 for UnityEngine.Components.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
Derived Types
graph BT Type-->Base0["SerializedDataEditorWindow<TObject, TData>"] Base0-->Base1["EditorWindow"] Type["SerializedComponentDataEditorWindow<TObject, TData>"] class Type type-node Derived0["TransformTreeWindow<TObject, TData>"]-->Type click Derived0 "/animancer/api/Animancer.Editor/TransformTreeWindow_2"

Syntax

public abstract class SerializedComponentDataEditorWindow<TObject, TData> : 
    SerializedDataEditorWindow<TObject, TData>
    where TObject : Component where TData : class, ICopyable<TData>, IEquatable<TData>, new()

Type Parameters

Name Description
TObject
TData

Properties

Name Value Summary
SourceObject TObject
The object which contains the data this class manages.
SourceObjectMightBePrefab bool
Override this to return true if the Animancer.Editor.SerializedDataEditorWindow`2.SourceObject could be part of a prefab to ensure that modifications are serialized properly.

Methods

Name Value Summary
CaptureData() void
Stores a copy of the Animancer.Editor.SerializedDataEditorWindow`2.SourceData in the Animancer.Editor.SerializedDataEditorWindow`2.Data.