C# Class UnityEditor.PresetLibrary

Inheritance: UnityEngine.ScriptableObject
ファイルを表示 Open project: randomize/VimConfig Class Usage Examples

Public Methods

Method Description
Add ( object presetObject, string presetName ) : void
Count ( ) : int
Draw ( Rect rect, int index ) : void
Draw ( Rect rect, object presetObject ) : void
GetName ( int index ) : string
GetPreset ( int index ) : object
Move ( int index, int destIndex, bool insertAfterDestIndex ) : void
Remove ( int index ) : void
Replace ( int index, object newPresetObject ) : void
SetName ( int index, string name ) : void

Protected Methods

Method Description
PresetLibrary ( ) : System

Method Details

Add() public abstract method

public abstract Add ( object presetObject, string presetName ) : void
presetObject object
presetName string
return void

Count() public abstract method

public abstract Count ( ) : int
return int

Draw() public abstract method

public abstract Draw ( Rect rect, int index ) : void
rect UnityEngine.Rect
index int
return void

Draw() public abstract method

public abstract Draw ( Rect rect, object presetObject ) : void
rect UnityEngine.Rect
presetObject object
return void

GetName() public abstract method

public abstract GetName ( int index ) : string
index int
return string

GetPreset() public abstract method

public abstract GetPreset ( int index ) : object
index int
return object

Move() public abstract method

public abstract Move ( int index, int destIndex, bool insertAfterDestIndex ) : void
index int
destIndex int
insertAfterDestIndex bool
return void

PresetLibrary() protected method

protected PresetLibrary ( ) : System
return System

Remove() public abstract method

public abstract Remove ( int index ) : void
index int
return void

Replace() public abstract method

public abstract Replace ( int index, object newPresetObject ) : void
index int
newPresetObject object
return void

SetName() public abstract method

public abstract SetName ( int index, string name ) : void
index int
name string
return void