Photon Quantum 3.0.0

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

A utility window to quickly access Quantum global configs. More...

Inherits EditorWindow.

Classes

class  GridScope
 A grid scope for the Quantum global config window. More...
 

Public Member Functions

virtual void OnGUI ()
 OnGUI override to draw the Quantum global config window. More...
 

Static Public Member Functions

static Rect DrawIcon (string iconName)
 Draw an icon. More...
 
static Rect DrawIcon (string iconName, float width)
 Obsolete More...
 
static T SearchAndSelect< T > ()
 Search and select any type. More...
 
static T SearchAndSelect< T > (AssetGuid assetGuid)
 Search and select any type by asset guid. More...
 
static T SearchAndSelect< T > (string name)
 Search and select any type by name. More...
 
static void SearchDefaultConfigs ()
 Search and select the Quantum default config asset. More...
 
static void SearchPhotonServerSettings ()
 Search and select PhotonServerSettings. More...
 
static void SearchQuantumDotnetBuildSettings ()
 Search and select the Quantum .net build settings. More...
 
static void SearchQuantumDotnetProjectSettings ()
 Search and select the Quantum .net project settings. More...
 
static void SearchQuantumEditorSettings ()
 Search and select QuantumEditorSettings. More...
 
static void SearchQuantumGizmoSettings ()
 Search and select game gizmo settings. More...
 
static void SearchSessionConfig ()
 Search and select the session config. More...
 
static void SearchSimulationConfig ()
 Search and select simulation config assets. More...
 
static void SearchUnityDB ()
 Search and select the Quantum Unity DB file. More...
 
static void ShowWindow ()
 Open the global config shortcut window. More...
 

Static Public Attributes

static float ButtonWidth = 200.0f
 Configure the button width. More...
 

Detailed Description

A utility window to quickly access Quantum global configs.

Member Function Documentation

◆ SearchPhotonServerSettings()

static void Quantum.Editor.QuantumEditorShortcutsWindow.SearchPhotonServerSettings ( )
static

Search and select PhotonServerSettings.

◆ SearchQuantumEditorSettings()

static void Quantum.Editor.QuantumEditorShortcutsWindow.SearchQuantumEditorSettings ( )
static

Search and select QuantumEditorSettings.

◆ SearchQuantumGizmoSettings()

static void Quantum.Editor.QuantumEditorShortcutsWindow.SearchQuantumGizmoSettings ( )
static

Search and select game gizmo settings.

◆ SearchDefaultConfigs()

static void Quantum.Editor.QuantumEditorShortcutsWindow.SearchDefaultConfigs ( )
static

Search and select the Quantum default config asset.

◆ SearchSessionConfig()

static void Quantum.Editor.QuantumEditorShortcutsWindow.SearchSessionConfig ( )
static

Search and select the session config.

◆ SearchSimulationConfig()

static void Quantum.Editor.QuantumEditorShortcutsWindow.SearchSimulationConfig ( )
static

Search and select simulation config assets.

◆ SearchUnityDB()

static void Quantum.Editor.QuantumEditorShortcutsWindow.SearchUnityDB ( )
static

Search and select the Quantum Unity DB file.

◆ SearchQuantumDotnetBuildSettings()

static void Quantum.Editor.QuantumEditorShortcutsWindow.SearchQuantumDotnetBuildSettings ( )
inlinestatic

Search and select the Quantum .net build settings.

◆ SearchQuantumDotnetProjectSettings()

static void Quantum.Editor.QuantumEditorShortcutsWindow.SearchQuantumDotnetProjectSettings ( )
inlinestatic

Search and select the Quantum .net project settings.

◆ ShowWindow()

static void Quantum.Editor.QuantumEditorShortcutsWindow.ShowWindow ( )
inlinestatic

Open the global config shortcut window.

◆ OnGUI()

virtual void Quantum.Editor.QuantumEditorShortcutsWindow.OnGUI ( )
inlinevirtual

OnGUI override to draw the Quantum global config window.

◆ DrawIcon() [1/2]

static Rect Quantum.Editor.QuantumEditorShortcutsWindow.DrawIcon ( string  iconName,
float  width 
)
inlinestatic

Obsolete

◆ DrawIcon() [2/2]

static Rect Quantum.Editor.QuantumEditorShortcutsWindow.DrawIcon ( string  iconName)
inlinestatic

Draw an icon.

Parameters
iconNameIcon name that is found by EditorGUIUtility.IconContent()
Returns
Control rect

◆ SearchAndSelect< T >() [1/3]

static T Quantum.Editor.QuantumEditorShortcutsWindow.SearchAndSelect< T > ( )
inlinestatic

Search and select any type.

Template Parameters
TType to search
Returns
The first asset of the type found
Type Constraints
T :UnityEngine.Object 

◆ SearchAndSelect< T >() [2/3]

static T Quantum.Editor.QuantumEditorShortcutsWindow.SearchAndSelect< T > ( AssetGuid  assetGuid)
inlinestatic

Search and select any type by asset guid.

Template Parameters
TThe asset type
Parameters
assetGuid
Returns
The found asset
Type Constraints
T :UnityEngine.Object 

◆ SearchAndSelect< T >() [3/3]

static T Quantum.Editor.QuantumEditorShortcutsWindow.SearchAndSelect< T > ( string  name)
inlinestatic

Search and select any type by name.

Template Parameters
TAsset type
Parameters
nameAsset name
Returns
The asset matching the type and name
Type Constraints
T :UnityEngine.Object 

Member Data Documentation

◆ ButtonWidth

float Quantum.Editor.QuantumEditorShortcutsWindow.ButtonWidth = 200.0f
static

Configure the button width.