![]() |
PiXYZ Plugin for Unity
Scripting API Documentation
|
Inherits MonoBehaviour.
Public Member Functions | |
void | stamp (string filePath, long importDuration) |
Public Attributes | |
long | importTime => _importTime |
long | importDuration => _importDuration |
long | lastWriteTime => _lastWriteTime |
long | lastFileSize => _lastFileSize |
bool | wasUserWarned |
Properties | |
string | path [get, set] |
string | fullPath [get] |
ImportSettings | importSettings [get, set] |
UnityEngine.Object | rules [get, set] |
bool | isLiveSyncEnabled [get, set] |
LiveSyncStatus | status [get] |
void stamp | ( | string | filePath, |
long | importDuration | ||
) |
Updates the import information.
filePath | |
importDuration |
long importDuration => _importDuration |
The duration (in ticks) it took to import that file.
long importTime => _importTime |
The time (in ticks) when the file was imported.
long lastFileSize => _lastFileSize |
The size of the file (in bytes) the last time it was imported / synchronized.
long lastWriteTime => _lastWriteTime |
The last write time (in ticks) of that file.
bool wasUserWarned |
True if the user was warned that the file was out of sync.
|
get |
The absolute path to the source file.
This is different from the path when the path is relative to the Project directory.
|
getset |
The PiXYZ.Plugin.Unity.ImportSettings used to import that file.
|
getset |
Returns true if the Live Sync is enabled.
|
getset |
The path to the source file.
|
getset |
The PiXYZ.Plugin.Unity.Tools.RuleSet used to import that file.
This object is an editor-only feature, hence, type needs casting for use in Editor.
|
get |
The current status of the Live Sync for that file.