Twoorb Plugins  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Twoorb.PrefabSystem.Editor.GroupDependencyCollection Class Reference

Class containing data and the ability to compare dependencies. Used to determine the need for dependency asset bundles. More...

Public Member Functions

void Initialize (int groupID)
 Initializes the dependency collection with a group ID More...
 
bool IsSharingDependencies (List< string > dependencies)
 Checks whether or not any string the list of dependencies in the parameters should share dependencies with this collection More...
 
void RegisterDependencies (List< string > dependencies)
 Registers all dependencies with this method and call Finalize() when done. More...
 
void DetermineDependencies ()
 Takes all the dependencies collected with RegisterDependencies(), compares it with the stored values and decides whether or not it changed More...
 

Public Attributes

int m_groupID = 0
 The Current GroupID More...
 
int m_collectionVersion = 0
 The Current Version of this dependency collection More...
 
List< string > m_assetDependencies = new List<string>()
 A list of all the dependencies in this class More...
 
bool m_isUpdated = false
 Indicates whether or not the dependency bundle was updated or needs to be updated More...
 

Properties

int GroupID [get]
 The Current GroupID More...
 
int CollectionVersion [get]
 The Current Version of this dependency collection More...
 
List< string > AssetDependencies [get]
 A list of all the dependencies in this class More...
 
bool HasNoDependencies [get]
 Returns is this dependency collection has any dependencies More...
 
bool IsUpdated [get, set]
 Gets or sets whether or not the dependency bundle was updated or needs to be updated More...
 

Detailed Description

Class containing data and the ability to compare dependencies. Used to determine the need for dependency asset bundles.

Member Function Documentation

void Twoorb.PrefabSystem.Editor.GroupDependencyCollection.DetermineDependencies ( )

Takes all the dependencies collected with RegisterDependencies(), compares it with the stored values and decides whether or not it changed

void Twoorb.PrefabSystem.Editor.GroupDependencyCollection.Initialize ( int  groupID)

Initializes the dependency collection with a group ID

Parameters
groupIDThe ID of the group
bool Twoorb.PrefabSystem.Editor.GroupDependencyCollection.IsSharingDependencies ( List< string >  dependencies)

Checks whether or not any string the list of dependencies in the parameters should share dependencies with this collection

Parameters
dependenciesThe list of dependencies to check
Returns
If the list contained a shared dependency
void Twoorb.PrefabSystem.Editor.GroupDependencyCollection.RegisterDependencies ( List< string >  dependencies)

Registers all dependencies with this method and call Finalize() when done.

Member Data Documentation

List<string> Twoorb.PrefabSystem.Editor.GroupDependencyCollection.m_assetDependencies = new List<string>()

A list of all the dependencies in this class

int Twoorb.PrefabSystem.Editor.GroupDependencyCollection.m_collectionVersion = 0

The Current Version of this dependency collection

int Twoorb.PrefabSystem.Editor.GroupDependencyCollection.m_groupID = 0

The Current GroupID

bool Twoorb.PrefabSystem.Editor.GroupDependencyCollection.m_isUpdated = false

Indicates whether or not the dependency bundle was updated or needs to be updated

Property Documentation

List<string> Twoorb.PrefabSystem.Editor.GroupDependencyCollection.AssetDependencies
get

A list of all the dependencies in this class

int Twoorb.PrefabSystem.Editor.GroupDependencyCollection.CollectionVersion
get

The Current Version of this dependency collection

int Twoorb.PrefabSystem.Editor.GroupDependencyCollection.GroupID
get

The Current GroupID

bool Twoorb.PrefabSystem.Editor.GroupDependencyCollection.HasNoDependencies
get

Returns is this dependency collection has any dependencies

bool Twoorb.PrefabSystem.Editor.GroupDependencyCollection.IsUpdated
getset

Gets or sets whether or not the dependency bundle was updated or needs to be updated


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