Location
Represents the location of a reported issue.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Class
- Namespace: Unity.ProjectAuditor.Editor
- Assembly: UnityEditor
- Implements: ISerializationCallbackReceiver
public class Location : ISerializationCallbackReceiver
Constructors
Constructor | Description |
|---|---|
| Location() | Constructor |
| Location(System.String) | Constructor |
| Location(System.String,System.Int32) | Constructor with line number |
Properties
Property | Description |
|---|---|
| Extension | File extension |
| Filename | Filename |
| FormattedFilename | Formatted filename with line number |
| FormattedPath | Formatted path with line number |
| IsValid | Checks whether the location is valid |
| Line | Line number |
| Path | Full path |
Methods
Method | Description |
|---|---|
| OnAfterDeserialize | Post-serialize callback. |
| OnBeforeSerialize | Pre-serialize callback. |