|
CsoundUnity 4.0.0-alpha.3
|
This class describes a setting that is meant to be used to set Csound's Global Environment Variables. More...
Public Member Functions | |
| string | GetPath (bool runtime=false) |
| Returns the resolved file-system path for this environment setting, combining the baseFolder origin with the suffix. | |
| string | GetTypeString () |
| Returns the string representation of the CsoundUnity.EnvType for this setting. | |
| string | GetPlatformString () |
| Returns the string representation of the SupportedPlatform for this setting. | |
| string | GetPathDescriptor (bool runtime) |
| Returns a human-readable descriptor combining platform, type and resolved path. | |
Public Attributes | |
| SupportedPlatform | platform |
| The target platform this environment setting applies to. | |
| CsoundUnity.EnvType | type |
| The Csound environment variable to set (e.g. CsoundUnity.EnvType.SFDIR). | |
| EnvironmentPathOrigin | baseFolder |
| The base folder origin used to build the full path. | |
| string | suffix |
| Path suffix appended to the base folder to form the final path. | |
| bool | foldout |
| Whether the setting is drawn expanded in the inspector. | |
| List< string > | AssetsToLoadList |
| List of asset paths that should be loaded into the virtual file system for this environment setting. | |
This class describes a setting that is meant to be used to set Csound's Global Environment Variables.
|
inline |
Returns the resolved file-system path for this environment setting, combining the baseFolder origin with the suffix.
| runtime | When true, returns the expected runtime path for the target platform (useful for Editor preview). When false (default), returns the current Editor path via Application.persistentDataPath / streamingAssetsPath. |
|
inline |
Returns a human-readable descriptor combining platform, type and resolved path.
| runtime | When true, returns the expected runtime path; otherwise returns the Editor path. |
|
inline |
Returns the string representation of the SupportedPlatform for this setting.
|
inline |
Returns the string representation of the CsoundUnity.EnvType for this setting.
SFDIR.| List<string> Csound.Unity.EnvironmentSettings.AssetsToLoadList |
List of asset paths that should be loaded into the virtual file system for this environment setting.
| EnvironmentPathOrigin Csound.Unity.EnvironmentSettings.baseFolder |
The base folder origin used to build the full path.
| bool Csound.Unity.EnvironmentSettings.foldout |
Whether the setting is drawn expanded in the inspector.
| SupportedPlatform Csound.Unity.EnvironmentSettings.platform |
The target platform this environment setting applies to.
| string Csound.Unity.EnvironmentSettings.suffix |
Path suffix appended to the base folder to form the final path.
| CsoundUnity.EnvType Csound.Unity.EnvironmentSettings.type |
The Csound environment variable to set (e.g. CsoundUnity.EnvType.SFDIR).