CutsceneAnchorsEditorComponent
Namespace: Murder.Components.Serialization
Assembly: Murder.dll
public sealed struct CutsceneAnchorsEditorComponent : IComponent
Implements: IComponent
⭐ Constructors
public CutsceneAnchorsEditorComponent()
public CutsceneAnchorsEditorComponent(ImmutableArray<T> anchors)
Parameters
anchors ImmutableArray<T>
⭐ Properties
Anchors
public readonly ImmutableArray<T> Anchors;
Returns
ImmutableArray<T>
⭐ Methods
FindAnchor(string)
public Anchor FindAnchor(string name)
Parameters
name string
Returns
Anchor
AddAnchorAt(Vector2)
public CutsceneAnchorsEditorComponent AddAnchorAt(Vector2 newPosition)
Parameters
newPosition Vector2
Returns
CutsceneAnchorsEditorComponent
WithAnchorAt(string, Vector2)
public CutsceneAnchorsEditorComponent WithAnchorAt(string name, Vector2 newPosition)
Parameters
name string
newPosition Vector2
Returns
CutsceneAnchorsEditorComponent
WithoutAnchorAt(string)
public CutsceneAnchorsEditorComponent WithoutAnchorAt(string name)
Parameters
name string
Returns
CutsceneAnchorsEditorComponent
⚡