Photon Quantum 3.0.0

Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Quantum.Editor.QuantumDotnetProjectSettings Class Reference

A configuration asset that describes the search paths to create a non-Unity simulation project. More...

Inheritance diagram for Quantum.Editor.QuantumDotnetProjectSettings:
Quantum.QuantumGlobalScriptableObject< QuantumDotnetProjectSettings >

Public Member Functions

void Export ()
 Export the non-Unity simulation project to OutputProjectPath. More...
 
void Export (string outputPath)
 Export the non-Unity simulation project to a certain location. More...
 

Static Public Member Functions

static void Export (string outputPath, string[] includes)
 Export the non-Unity simulation project to a certain location. More...
 

Public Attributes

bool IncludeAllAssetObjectScripts = true
 Enabled to include all asset object script in the result. More...
 
bool IncludeAllQtnAssets = true
 Enable to include all qtn assets in the result. More...
 
string[] IncludePaths
 The search paths to collect all simulation source files from.E.g. files that are included in the Quantum.Simulation.asmdef. More...
 
string OutputProjectPath = "../Quantum.Simulation.Gen.csproj"
 The destination path when pressing the Export button in the inspector of this asset, absolute or relative to the Unity project. More...
 

Static Public Attributes

const string DefaultPath = "Assets/QuantumUser/Editor/QuantumDotnetProjectSettings.asset"
 The default location of the global instance. More...
 
const string IncludeLabel = "QuantumDotnetInclude"
 Use this Unity asset label to mark assets or paths that should be included in the search paths to generate a non-Unity simulation project file. More...
 

Detailed Description

A configuration asset that describes the search paths to create a non-Unity simulation project.

Member Function Documentation

◆ Export() [1/3]

void Quantum.Editor.QuantumDotnetProjectSettings.Export ( )
inline

Export the non-Unity simulation project to OutputProjectPath.

◆ Export() [2/3]

void Quantum.Editor.QuantumDotnetProjectSettings.Export ( string  outputPath)
inline

Export the non-Unity simulation project to a certain location.

Parameters
outputPathDestination path, should end with .csproj

◆ Export() [3/3]

static void Quantum.Editor.QuantumDotnetProjectSettings.Export ( string  outputPath,
string[]  includes 
)
inlinestatic

Export the non-Unity simulation project to a certain location.

Parameters
outputPathDestination path, should end with .csproj
includesThe list of files to add to the Includes list of the project file

Member Data Documentation

◆ DefaultPath

const string Quantum.Editor.QuantumDotnetProjectSettings.DefaultPath = "Assets/QuantumUser/Editor/QuantumDotnetProjectSettings.asset"
static

The default location of the global instance.

◆ IncludeLabel

const string Quantum.Editor.QuantumDotnetProjectSettings.IncludeLabel = "QuantumDotnetInclude"
static

Use this Unity asset label to mark assets or paths that should be included in the search paths to generate a non-Unity simulation project file.

◆ OutputProjectPath

string Quantum.Editor.QuantumDotnetProjectSettings.OutputProjectPath = "../Quantum.Simulation.Gen.csproj"

The destination path when pressing the Export button in the inspector of this asset, absolute or relative to the Unity project.

◆ IncludeAllQtnAssets

bool Quantum.Editor.QuantumDotnetProjectSettings.IncludeAllQtnAssets = true

Enable to include all qtn assets in the result.

◆ IncludeAllAssetObjectScripts

bool Quantum.Editor.QuantumDotnetProjectSettings.IncludeAllAssetObjectScripts = true

Enabled to include all asset object script in the result.

◆ IncludePaths

string [] Quantum.Editor.QuantumDotnetProjectSettings.IncludePaths
Initial value:
= new[] {
"Assets/QuantumUser/Simulation",
"Assets/Photon/Quantum/Simulation"
}

The search paths to collect all simulation source files from.E.g. files that are included in the Quantum.Simulation.asmdef.