MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / IEditable

Interface IEditable

Source/Editor/IEditable.cs:10–26  ·  view source on GitHub ↗

Interface for all objects that can be modified (dirty state) and expose some functionalities and events.

Source from the content-addressed store, hash-verified

8 /// Interface for all objects that can be modified (dirty state) and expose some functionalities and events.
9 /// </summary>
10 public interface IEditable
11 {
12 /// <summary>
13 /// Occurs when object gets edited.
14 /// </summary>
15 event Action OnEdited;
16
17 /// <summary>
18 /// Gets a value indicating whether this object is edited (dirty state).
19 /// </summary>
20 bool IsEdited { get; }
21
22 /// <summary>
23 /// Marks object as edited (sets dirty flag).
24 /// </summary>
25 void MarkAsEdited();
26 }
27}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected