C# 클래스 TuxedoBerries.ScenePanel.Controllers.SceneDatabase

Scene database. Databse of the scenes in the project.
파일 보기 프로젝트 열기: TuxedoBerries/ScenePanel 1 사용 예제들

공개 메소드들

메소드 설명
AddToBuild ( ISceneEntity entity ) : bool

Adds to build.

Contains ( string scenePath ) : bool

Determine if the given scenePath exist.

GenerateJSON ( ) : string

Generates a JSON representation of the scenes.

GetAllScenes ( ) : IEnumerator

Gets all scenes.

GetBuildScenes ( ) : IEnumerator

Gets the build scenes.

GetFavorites ( ) : IEnumerator

Gets the favorites.

Refresh ( ) : void

Refresh this instance.

RemoveToBuild ( ISceneEntity entity ) : bool

Removes to build.

SceneDatabase ( ) : System.Collections.Generic

Initializes a new instance of the TuxedoBerries.ScenePanel.SceneDatabase class.

SetAsActive ( string scenePath ) : bool

Sets as active.

UpdateEnable ( ISceneEntity entity ) : bool

Updates the enable.

UpdateEntity ( ISceneEntity entity ) : bool

Updates the entity.

UpdateIndex ( ISceneEntity entity ) : bool

Updates the index.

this ( string scenePath ) : ISceneEntity

Gets the SceneEntity with the specified scenePath.

비공개 메소드들

메소드 설명
AddBuildData ( ) : void

Adds the build data.

GenerateEntity ( string assetPath ) : SceneEntity

Generates the scene entity based on the asset path.

GetFromPool ( ) : SceneEntity
RefreshBuildSettings ( ) : void
RefreshDictionary ( ) : void

Generates the dictionary of scenes.

ReturnToPool ( SceneEntity entity ) : void

Returns to pool.

SortByIndex ( SceneEntity entityA, SceneEntity entityB ) : int

메소드 상세

AddToBuild() 공개 메소드

Adds to build.
public AddToBuild ( ISceneEntity entity ) : bool
entity ISceneEntity Entity.
리턴 bool

Contains() 공개 메소드

Determine if the given scenePath exist.
public Contains ( string scenePath ) : bool
scenePath string Scene path.
리턴 bool

GenerateJSON() 공개 메소드

Generates a JSON representation of the scenes.
public GenerateJSON ( ) : string
리턴 string

GetAllScenes() 공개 메소드

Gets all scenes.
public GetAllScenes ( ) : IEnumerator
리턴 IEnumerator

GetBuildScenes() 공개 메소드

Gets the build scenes.
public GetBuildScenes ( ) : IEnumerator
리턴 IEnumerator

GetFavorites() 공개 메소드

Gets the favorites.
public GetFavorites ( ) : IEnumerator
리턴 IEnumerator

Refresh() 공개 메소드

Refresh this instance.
public Refresh ( ) : void
리턴 void

RemoveToBuild() 공개 메소드

Removes to build.
public RemoveToBuild ( ISceneEntity entity ) : bool
entity ISceneEntity Entity.
리턴 bool

SceneDatabase() 공개 메소드

Initializes a new instance of the TuxedoBerries.ScenePanel.SceneDatabase class.
public SceneDatabase ( ) : System.Collections.Generic
리턴 System.Collections.Generic

SetAsActive() 공개 메소드

Sets as active.
public SetAsActive ( string scenePath ) : bool
scenePath string Scene path.
리턴 bool

UpdateEnable() 공개 메소드

Updates the enable.
public UpdateEnable ( ISceneEntity entity ) : bool
entity ISceneEntity Entity.
리턴 bool

UpdateEntity() 공개 메소드

Updates the entity.
public UpdateEntity ( ISceneEntity entity ) : bool
entity ISceneEntity Entity.
리턴 bool

UpdateIndex() 공개 메소드

Updates the index.
public UpdateIndex ( ISceneEntity entity ) : bool
entity ISceneEntity Entity.
리턴 bool

this() 공개 메소드

Gets the SceneEntity with the specified scenePath.
public this ( string scenePath ) : ISceneEntity
scenePath string Scene path.
리턴 ISceneEntity