C# Class UnityEditor.VersionControl.Asset

This class containes information about the version control state of an asset.

显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Property Type Description
AllStateToString string
AllStateToString string
Dispose void
InternalCreateFromString void
IsChildOf bool
IsState bool
StateToString string
StateToString string

Public Methods

Method Description
Asset ( string clientPath ) : System
Edit ( ) : void

Opens the assets in an associated editor.

IsOneOfStates ( States states ) : bool
IsState ( States state ) : bool
Load ( ) : Object

Loads the asset to memory.

Private Methods

Method Description
AllStateToString ( ) : string
AllStateToString ( States state ) : string
Dispose ( ) : void
InternalCreateFromString ( string clientPath ) : void
IsChildOf ( Asset other ) : bool
IsState ( States isThisState, States partOfThisState ) : bool
StateToString ( ) : string
StateToString ( States state ) : string

Method Details

Asset() public method

public Asset ( string clientPath ) : System
clientPath string
return System

Edit() public method

Opens the assets in an associated editor.

public Edit ( ) : void
return void

IsOneOfStates() public method

public IsOneOfStates ( States states ) : bool
states States
return bool

IsState() public method

public IsState ( States state ) : bool
state States
return bool

Load() public method

Loads the asset to memory.

public Load ( ) : Object
return Object