Class GraphPointer
Syntax
public abstract class GraphPointer
Fields
dataStack
Declaration
protected readonly List<IGraphData> dataStack
Field Value
graphStack
Declaration
protected readonly List<IGraph> graphStack
Field Value
parentElementStack
Declaration
protected readonly List<IGraphParentElement> parentElementStack
Field Value
parentStack
Declaration
protected readonly List<IGraphParent> parentStack
Field Value
Properties
_data
Declaration
protected IGraphData _data { get; set; }
Property Value
component
Declaration
public Component component { get; }
Property Value
Type |
Description |
Component |
|
data
Declaration
public IGraphData data { get; }
Property Value
definition
Declaration
public UnityEngine.Object definition { get; }
Property Value
Type |
Description |
UnityEngine.Object |
|
depth
Declaration
public int depth { get; }
Property Value
gameObject
Declaration
public GameObject gameObject { get; }
Property Value
Type |
Description |
GameObject |
|
graph
Declaration
public IGraph graph { get; }
Property Value
hasData
Declaration
public bool hasData { get; }
Property Value
instance
Declaration
public UnityEngine.Object instance { get; }
Property Value
Type |
Description |
UnityEngine.Object |
|
isChild
Declaration
public bool isChild { get; }
Property Value
isRoot
Declaration
public bool isRoot { get; }
Property Value
isValid
Declaration
public bool isValid { get; }
Property Value
parent
Declaration
public IGraphParent parent { get; }
Property Value
parentElement
Declaration
public IGraphParentElement parentElement { get; }
Property Value
parentElementGuids
Declaration
public IEnumerable<Guid> parentElementGuids { get; }
Property Value
root
Declaration
public IGraphRoot root { get; protected set; }
Property Value
rootGraph
Declaration
public IGraph rootGraph { get; }
Property Value
rootObject
Declaration
public UnityEngine.Object rootObject { get; }
Property Value
Type |
Description |
UnityEngine.Object |
|
rootSerializer
Declaration
public IGraphRootSerializer rootSerializer { get; }
Property Value
scene
Declaration
public Scene? scene { get; }
Property Value
serializedObject
Declaration
public UnityEngine.Object serializedObject { get; }
Property Value
Type |
Description |
UnityEngine.Object |
|
Methods
AsReference()
Declaration
public abstract GraphReference AsReference()
Returns
ComputeHashCode()
Declaration
public int ComputeHashCode()
Returns
CopyFrom(GraphPointer)
Declaration
public virtual void CopyFrom(GraphPointer other)
Parameters
DefinitionEquals(GraphPointer)
Declaration
public bool DefinitionEquals(GraphPointer other)
Parameters
Returns
EnsureChild()
Declaration
public void EnsureChild()
EnsureDataAvailable()
Declaration
public void EnsureDataAvailable()
EnsureDepthValid(Int32)
Declaration
public void EnsureDepthValid(int depth)
Parameters
Type |
Name |
Description |
Int32 |
depth |
|
EnsureValid()
Declaration
public void EnsureValid()
EnsureWithin<T>()
Declaration
public void EnsureWithin<T>()
where T : IGraphParent
Type Parameters
EnterParentElement(IGraphParentElement)
Declaration
protected void EnterParentElement(IGraphParentElement parentElement)
Parameters
EnterParentElement(Guid)
Declaration
protected void EnterParentElement(Guid parentElementGuid)
Parameters
Type |
Name |
Description |
Guid |
parentElementGuid |
|
ExitParentElement()
Declaration
protected void ExitParentElement()
GetElementData(IGraphElementWithData)
Declaration
public IGraphElementData GetElementData(IGraphElementWithData element)
Parameters
Returns
GetElementData<T>(IGraphElementWithData)
Declaration
public T GetElementData<T>(IGraphElementWithData element)
where T : IGraphElementData
Parameters
Returns
Type Parameters
GetElementDebugData(IGraphElementWithDebugData)
Declaration
public IGraphElementDebugData GetElementDebugData(IGraphElementWithDebugData element)
Parameters
Returns
GetElementDebugData<T>(IGraphElementWithDebugData)
Declaration
public T GetElementDebugData<T>(IGraphElementWithDebugData element)
where T : IGraphElementDebugData
Parameters
Returns
Type Parameters
GetGraphData<T>()
Declaration
public T GetGraphData<T>()
where T : IGraphData
Returns
Type Parameters
GetParent<T>()
Declaration
public T GetParent<T>()
where T : IGraphParent
Returns
Type Parameters
Initialize(IGraphRoot)
Declaration
protected void Initialize(IGraphRoot root)
Parameters
Initialize(IGraphRoot, IEnumerable<IGraphParentElement>, Boolean)
Declaration
protected void Initialize(IGraphRoot root, IEnumerable<IGraphParentElement> parentElements, bool ensureValid)
Parameters
Initialize(UnityEngine.Object, String, IEnumerable<Guid>, Boolean)
Declaration
protected void Initialize(UnityEngine.Object rootSerializer, string rootData, IEnumerable<Guid> parentElementGuids, bool ensureValid)
Parameters
InstanceEquals(GraphPointer)
Declaration
public bool InstanceEquals(GraphPointer other)
Parameters
Returns
IsValidRoot(IGraphRoot)
Declaration
protected static bool IsValidRoot(IGraphRoot root)
Parameters
Returns
IsValidRoot(UnityEngine.Object, String)
Declaration
protected static bool IsValidRoot(UnityEngine.Object rootSerializer, string rootData)
Parameters
Type |
Name |
Description |
UnityEngine.Object |
rootSerializer |
|
String |
rootData |
|
Returns
IsWithin<T>()
Declaration
public bool IsWithin<T>()
where T : IGraphParent
Returns
Type Parameters
ToString()
Declaration
public override string ToString()
Returns
Overrides
TryEnterParentElement(IGraphParentElement, out String, Nullable<Int32>, Boolean)
Declaration
protected bool TryEnterParentElement(IGraphParentElement parentElement, out string error, int? maxRecursionDepth = default(int? ), bool skipContainsCheck = false)
Parameters
Returns
TryEnterParentElement(Guid, out String, Nullable<Int32>)
Declaration
protected bool TryEnterParentElement(Guid parentElementGuid, out string error, int? maxRecursionDepth = default(int? ))
Parameters
Returns
Extension Methods