Eye of the Nile Docs
Everything you need to know to get started!
Loading...
Searching...
No Matches
FMODUnity.SettingsEditor.PlatformsView Class Reference

Classes

class  PlatformItem
 

Public Member Functions

 PlatformsView (Settings settings, TreeViewState state)
 
void DrawLayout ()
 
void SelectAndFramePlatform (Platform platform)
 
void ForceReload ()
 
void ReloadIfNecessary ()
 

Protected Member Functions

override void RowGUI (RowGUIArgs args)
 
override bool CanMultiSelect (TreeViewItem item)
 
override bool CanChangeExpandedState (TreeViewItem item)
 
override TreeViewItem BuildRoot ()
 
override void DoubleClickedItem (int id)
 
override bool CanRename (TreeViewItem item)
 
override void RenameEnded (RenameEndedArgs args)
 
override bool CanStartDrag (CanStartDragArgs args)
 
override void SetupDragAndDrop (SetupDragAndDropArgs args)
 
override DragAndDropVisualMode HandleDragAndDrop (DragAndDropArgs args)
 

Properties

Platform SelectedPlatform [get]
 
static UnityEditorInternal.ReorderableList.Defaults defaultBehaviours [get]
 

Private Member Functions

void DoAddMenu (Rect rect)
 
void AddPlatform (object data)
 
void AddGroup ()
 
int UpdateSortOrderForChildren (Platform platform, Platform skipChild, string undoMessage)
 
void DeleteSelectedPlatform ()
 
void CreateItems (TreeViewItem parent, IEnumerable< string > platformIdentifiers)
 
bool IsItemDraggable (TreeViewItem draggedItem)
 
DragAndDropVisualMode HandleDragOverPlatform (Platform draggedPlatform, Platform parent, bool performDrop)
 
DragAndDropVisualMode HandleDragBetweenChildren (Platform draggedPlatform, Platform parent, int insertAtIndex, bool performDrop)
 

Static Private Member Functions

static TreeViewItem CreateItem (Platform platform)
 

Private Attributes

Settings settings
 

Static Private Attributes

const float RowPadding = 2
 
static UnityEditorInternal.ReorderableList.Defaults s_Defaults
 
const float HeaderHeight = 3
 
const float BodyHeight = 150
 
const float FooterHeight = 13
 
const float TotalHeight = HeaderHeight + BodyHeight + FooterHeight
 
const float ButtonWidth = 25
 
const float ButtonHeight = 16
 
const float ButtonMarginTop = 0
 
const float FooterMarginRight = 10
 
static readonly RectOffset BodyPadding = new RectOffset(1, 2, 1, 4)
 
static readonly RectOffset FooterPadding = new RectOffset(4, 4, 0, 0)
 
static readonly Vector2 DragHandleSize = new Vector2(10, 7)
 
static readonly Vector2 DragHandlePadding = new Vector2(5, 6)
 

Constructor & Destructor Documentation

◆ PlatformsView()

FMODUnity.SettingsEditor.PlatformsView.PlatformsView ( Settings settings,
TreeViewState state )

Member Function Documentation

◆ AddGroup()

void FMODUnity.SettingsEditor.PlatformsView.AddGroup ( )
private

◆ AddPlatform()

void FMODUnity.SettingsEditor.PlatformsView.AddPlatform ( object data)
private

◆ BuildRoot()

override TreeViewItem FMODUnity.SettingsEditor.PlatformsView.BuildRoot ( )
protected

◆ CanChangeExpandedState()

override bool FMODUnity.SettingsEditor.PlatformsView.CanChangeExpandedState ( TreeViewItem item)
protected

◆ CanMultiSelect()

override bool FMODUnity.SettingsEditor.PlatformsView.CanMultiSelect ( TreeViewItem item)
protected

◆ CanRename()

override bool FMODUnity.SettingsEditor.PlatformsView.CanRename ( TreeViewItem item)
protected

◆ CanStartDrag()

override bool FMODUnity.SettingsEditor.PlatformsView.CanStartDrag ( CanStartDragArgs args)
protected

◆ CreateItem()

static TreeViewItem FMODUnity.SettingsEditor.PlatformsView.CreateItem ( Platform platform)
staticprivate

◆ CreateItems()

void FMODUnity.SettingsEditor.PlatformsView.CreateItems ( TreeViewItem parent,
IEnumerable< string > platformIdentifiers )
private

◆ DeleteSelectedPlatform()

void FMODUnity.SettingsEditor.PlatformsView.DeleteSelectedPlatform ( )
private

◆ DoAddMenu()

void FMODUnity.SettingsEditor.PlatformsView.DoAddMenu ( Rect rect)
private

◆ DoubleClickedItem()

override void FMODUnity.SettingsEditor.PlatformsView.DoubleClickedItem ( int id)
protected

◆ DrawLayout()

void FMODUnity.SettingsEditor.PlatformsView.DrawLayout ( )

◆ ForceReload()

void FMODUnity.SettingsEditor.PlatformsView.ForceReload ( )

◆ HandleDragAndDrop()

override DragAndDropVisualMode FMODUnity.SettingsEditor.PlatformsView.HandleDragAndDrop ( DragAndDropArgs args)
protected

◆ HandleDragBetweenChildren()

DragAndDropVisualMode FMODUnity.SettingsEditor.PlatformsView.HandleDragBetweenChildren ( Platform draggedPlatform,
Platform parent,
int insertAtIndex,
bool performDrop )
private

◆ HandleDragOverPlatform()

DragAndDropVisualMode FMODUnity.SettingsEditor.PlatformsView.HandleDragOverPlatform ( Platform draggedPlatform,
Platform parent,
bool performDrop )
private

◆ IsItemDraggable()

bool FMODUnity.SettingsEditor.PlatformsView.IsItemDraggable ( TreeViewItem draggedItem)
private

◆ ReloadIfNecessary()

void FMODUnity.SettingsEditor.PlatformsView.ReloadIfNecessary ( )

◆ RenameEnded()

override void FMODUnity.SettingsEditor.PlatformsView.RenameEnded ( RenameEndedArgs args)
protected

◆ RowGUI()

override void FMODUnity.SettingsEditor.PlatformsView.RowGUI ( RowGUIArgs args)
protected

◆ SelectAndFramePlatform()

void FMODUnity.SettingsEditor.PlatformsView.SelectAndFramePlatform ( Platform platform)

◆ SetupDragAndDrop()

override void FMODUnity.SettingsEditor.PlatformsView.SetupDragAndDrop ( SetupDragAndDropArgs args)
protected

◆ UpdateSortOrderForChildren()

int FMODUnity.SettingsEditor.PlatformsView.UpdateSortOrderForChildren ( Platform platform,
Platform skipChild,
string undoMessage )
private

Member Data Documentation

◆ BodyHeight

const float FMODUnity.SettingsEditor.PlatformsView.BodyHeight = 150
staticprivate

◆ BodyPadding

readonly RectOffset FMODUnity.SettingsEditor.PlatformsView.BodyPadding = new RectOffset(1, 2, 1, 4)
staticprivate

◆ ButtonHeight

const float FMODUnity.SettingsEditor.PlatformsView.ButtonHeight = 16
staticprivate

◆ ButtonMarginTop

const float FMODUnity.SettingsEditor.PlatformsView.ButtonMarginTop = 0
staticprivate

◆ ButtonWidth

const float FMODUnity.SettingsEditor.PlatformsView.ButtonWidth = 25
staticprivate

◆ DragHandlePadding

readonly Vector2 FMODUnity.SettingsEditor.PlatformsView.DragHandlePadding = new Vector2(5, 6)
staticprivate

◆ DragHandleSize

readonly Vector2 FMODUnity.SettingsEditor.PlatformsView.DragHandleSize = new Vector2(10, 7)
staticprivate

◆ FooterHeight

const float FMODUnity.SettingsEditor.PlatformsView.FooterHeight = 13
staticprivate

◆ FooterMarginRight

const float FMODUnity.SettingsEditor.PlatformsView.FooterMarginRight = 10
staticprivate

◆ FooterPadding

readonly RectOffset FMODUnity.SettingsEditor.PlatformsView.FooterPadding = new RectOffset(4, 4, 0, 0)
staticprivate

◆ HeaderHeight

const float FMODUnity.SettingsEditor.PlatformsView.HeaderHeight = 3
staticprivate

◆ RowPadding

const float FMODUnity.SettingsEditor.PlatformsView.RowPadding = 2
staticprivate

◆ s_Defaults

UnityEditorInternal.ReorderableList.Defaults FMODUnity.SettingsEditor.PlatformsView.s_Defaults
staticprivate

◆ settings

Settings FMODUnity.SettingsEditor.PlatformsView.settings
private

◆ TotalHeight

const float FMODUnity.SettingsEditor.PlatformsView.TotalHeight = HeaderHeight + BodyHeight + FooterHeight
staticprivate

Property Documentation

◆ defaultBehaviours

UnityEditorInternal.ReorderableList.Defaults FMODUnity.SettingsEditor.PlatformsView.defaultBehaviours
staticgetprivate

◆ SelectedPlatform

Platform FMODUnity.SettingsEditor.PlatformsView.SelectedPlatform
get

The documentation for this class was generated from the following file: