Show / Hide Table of Contents

Class Asset

Inheritance
Object
Asset
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor.VersionControl
Assembly: UnityEditor.dll
Syntax
public class Asset

Constructors

| Improve this Doc View Source

Asset(String)

Declaration
public Asset(string clientPath)
Parameters
Type Name Description
String clientPath

Properties

fullName

Declaration
public string fullName { get; }
Property Value
Type Description
String

isFolder

Declaration
public bool isFolder { get; }
Property Value
Type Description
Boolean

isInCurrentProject

Declaration
public bool isInCurrentProject { get; }
Property Value
Type Description
Boolean

isMeta

Declaration
public bool isMeta { get; }
Property Value
Type Description
Boolean

locked

Declaration
public bool locked { get; }
Property Value
Type Description
Boolean

name

Declaration
public string name { get; }
Property Value
Type Description
String

path

Declaration
public string path { get; }
Property Value
Type Description
String
| Improve this Doc View Source

prettyPath

Declaration
public string prettyPath { get; }
Property Value
Type Description
String

readOnly

Declaration
public bool readOnly { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

state

Declaration
public Asset.States state { get; }
Property Value
Type Description
Asset.States

Methods

| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

Edit()

Declaration
public void Edit()
| Improve this Doc View Source

Finalize()

Declaration
protected void Finalize()

IsChildOf(Asset)

Declaration
public bool IsChildOf(Asset other)
Parameters
Type Name Description
Asset other
Returns
Type Description
Boolean
| Improve this Doc View Source

IsOneOfStates(Asset.States[])

Declaration
public bool IsOneOfStates(Asset.States[] states)
Parameters
Type Name Description
Asset.States[] states
Returns
Type Description
Boolean
| Improve this Doc View Source

IsState(Asset.States)

Declaration
public bool IsState(Asset.States state)
Parameters
Type Name Description
Asset.States state
Returns
Type Description
Boolean
| Improve this Doc View Source

Load()

Declaration
public Object Load()
Returns
Type Description
Object

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX