Summary
[Editor-Only]
A
Animancer.Editor.SerializedDataEditorWindow`2
for UnityEngine.Component
s.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Base Types
-
- EditorWindow
- Serialized
Data Editor Window <TObject, TData>
- Derived Types
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.
|
Source |
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 |
---|---|---|
SetAndCaptureSource |
void |
Sets the
Animancer.Editor.SerializedDataEditorWindow`2.SourceObject and captures the Animancer.Editor.SerializedDataEditorWindow`2.Data
as a copy of its Animancer.Editor.SerializedDataEditorWindow`2.SourceData .
|