Class GraphAsset<TGraph>
Inheritance
GraphAsset<TGraph>
Syntax
[Obsolete("Use the new class system to create class assets.")]
public abstract class GraphAsset<TGraph> : LudiqAsset, ILudiqRootObject, IGraphAsset, IGraphRoot, IGraphParent, IGraphRootSerializer, ISerializationDependency, ISerializationCallbackReceiver, INotifyPropertyChanged where TGraph : class, IGraph
Type Parameters
Constructors
GraphAsset()
Declaration
Properties
definition
Declaration
[DoNotSerialize]
public GraphReference definition { get; }
Property Value
Implements
graph
Declaration
[DoNotSerialize]
public TGraph graph { get; set; }
Property Value
Methods
OnAfterDeserialize()
Declaration
protected override void OnAfterDeserialize()
Overrides
OnBeforeDeserialize()
Declaration
protected override void OnBeforeDeserialize()
Overrides
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
OnPropertyChanged(Object, PropertyChangedEventArgs)
Declaration
protected virtual void OnPropertyChanged(object sender, PropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
Object |
sender |
|
PropertyChangedEventArgs |
args |
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
PropertyChangedEventHandler |
|
Explicit Interface Implementations
IGraphAsset.graph
Declaration
[DoNotSerialize]
IGraph IGraphAsset.graph { get; set; }
Returns
Implements
IGraphParent.childGraph
Declaration
[DoNotSerialize]
IGraph IGraphParent.childGraph { get; }
Returns
Implements
IGraphParent.isSerializationRoot
Declaration
[DoNotSerialize]
bool IGraphParent.isSerializationRoot { get; }
Returns
Implements
IGraphParent.serializedObject
Declaration
[DoNotSerialize]
UnityEngine.Object IGraphParent.serializedObject { get; }
Returns
Type |
Description |
UnityEngine.Object |
|
Implements
IGraphRoot.definitionObject
Declaration
[DoNotSerialize]
ScriptableObject IGraphRoot.definitionObject { get; }
Returns
Type |
Description |
ScriptableObject |
|
Implements
IGraphRoot.graphData
Declaration
[DoNotSerialize]
IGraphData IGraphRoot.graphData { get; }
Returns
Implements
IGraphRoot.instanceObject
Declaration
[DoNotSerialize]
UnityEngine.Object IGraphRoot.instanceObject { get; }
Returns
Type |
Description |
UnityEngine.Object |
|
Implements
IGraphRoot.rootSerializer
Declaration
[DoNotSerialize]
IGraphRootSerializer IGraphRoot.rootSerializer { get; }
Returns
Implements
IGraphRootSerializer.CanDeserializeGraphRoot(String)
Declaration
bool IGraphRootSerializer.CanDeserializeGraphRoot(string data)
Parameters
Type |
Name |
Description |
String |
data |
|
Returns
Implements
IGraphRootSerializer.DeserializeGraphRoot(String)
Declaration
IGraphRoot IGraphRootSerializer.DeserializeGraphRoot(string data)
Parameters
Type |
Name |
Description |
String |
data |
|
Returns
Implements
IGraphRootSerializer.SerializeGraphRoot(IGraphRoot)
Declaration
string IGraphRootSerializer.SerializeGraphRoot(IGraphRoot root)
Parameters
Returns
Implements
Extension Methods