Sequine - Scripting API
|
Text Behaviour Profile is an asset that contains the concrete profile of the stacked text animation behaviour. More...
Public Member Functions | |
void | Reset () |
T | Add< T > () |
Adds a TextBehaviourComponent to this Sequine Text Behaviour Profile. More... | |
TextBehaviourComponent | Add (Type type) |
Adds a TextBehaviourComponent to this Behaviour Profile. More... | |
void | Remove< T > () |
Removes a TextBehaviourComponent from this Behaviour Profile. More... | |
void | Remove (Type type) |
Removes a TextBehaviourComponent from this Behaviour Profile. More... | |
bool | Has< T > () |
Checks if this Behaviour Profile contains the TextBehaviourComponent you pass in. More... | |
bool | Has (Type type) |
Checks if this Behaviour Profile contains the TextBehaviourComponent you pass in. More... | |
bool | HasSubclassOf (Type type) |
Checks if this Behaviour Profile contains the TextBehaviourComponent, which is a subclass of type , that you pass in. More... | |
bool | TryGet< T > (out T component) |
Gets the TextBehaviourComponent of the specified type, if it exists. More... | |
bool | TryGet< T > (Type type, out T component) |
Gets the TextBehaviourComponent of the specified type, if it exists. More... | |
bool | TryGetSubclassOf< T > (Type type, out T component) |
Gets the
, which is a subclass of type , if it exists. More... | |
bool | TryGetAllSubclassOf< T > (Type type, List< T > result) |
Gets all the
that are subclasses of the specified type, if there are any. More... | |
Public Attributes | |
float | durationPerCharacter = 0.1f |
float | delayPerCharacter = 0.05f |
List< TextBehaviourComponent > | components = new List<TextBehaviourComponent>() |
A list of every setting that this Sequine Text Behaviour Profile stores. More... | |
bool | isDirty = true |
Text Behaviour Profile is an asset that contains the concrete profile of the stacked text animation behaviour.
TextBehaviourComponent Calcatz.Sequine.TextBehaviourProfile.Add | ( | Type | type | ) |
Adds a TextBehaviourComponent to this Behaviour Profile.
You can only have a single component of the same type per Behaviour Profile.
type | A type that inherits from TextBehaviourComponent. |
overrides | Specifies whether Unity should automatically override all the settings when you add a TextBehaviourComponent to the Behaviour Profile. |
T Calcatz.Sequine.TextBehaviourProfile.Add< T > | ( | ) |
Adds a TextBehaviourComponent to this Sequine Text Behaviour Profile.
You can only have a single component of the same type per Behaviour Profile.
T | A type of TextBehaviourComponent. |
T | : | TextBehaviourComponent |
bool Calcatz.Sequine.TextBehaviourProfile.Has | ( | Type | type | ) |
Checks if this Behaviour Profile contains the TextBehaviourComponent you pass in.
type | A type that inherits from TextBehaviourComponent. |
true
if the TextBehaviourComponent exists in the Behaviour Profile, false
otherwise.bool Calcatz.Sequine.TextBehaviourProfile.Has< T > | ( | ) |
Checks if this Behaviour Profile contains the TextBehaviourComponent you pass in.
T | A type of TextBehaviourComponent. |
true
if the TextBehaviourComponent exists in the Behaviour Profile, false
otherwise.T | : | TextBehaviourComponent |
bool Calcatz.Sequine.TextBehaviourProfile.HasSubclassOf | ( | Type | type | ) |
Checks if this Behaviour Profile contains the TextBehaviourComponent, which is a subclass of type , that you pass in.
type | A type that inherits from TextBehaviourComponent. |
true
if the TextBehaviourComponent exists in the Behaviour Profile, false
otherwise.void Calcatz.Sequine.TextBehaviourProfile.Remove | ( | Type | type | ) |
Removes a TextBehaviourComponent from this Behaviour Profile.
This method does nothing if the type does not exist in the Behaviour Profile.
type | A type that inherits from TextBehaviourComponent. |
void Calcatz.Sequine.TextBehaviourProfile.Remove< T > | ( | ) |
Removes a TextBehaviourComponent from this Behaviour Profile.
This method does nothing if the type does not exist in the Behaviour Profile.
T | A type of TextBehaviourComponent. |
T | : | TextBehaviourComponent |
void Calcatz.Sequine.TextBehaviourProfile.Reset | ( | ) |
bool Calcatz.Sequine.TextBehaviourProfile.TryGet< T > | ( | out T | component | ) |
Gets the TextBehaviourComponent of the specified type, if it exists.
T | A type of TextBehaviourComponent. |
component | The output argument that contains the TextBehaviourComponent or null . |
true
if the TextBehaviourComponent is in the Behaviour Profile, false
otherwise.T | : | TextBehaviourComponent |
bool Calcatz.Sequine.TextBehaviourProfile.TryGet< T > | ( | Type | type, |
out T | component | ||
) |
Gets the TextBehaviourComponent of the specified type, if it exists.
T | A type of TextBehaviourComponent |
type | A type that inherits from TextBehaviourComponent. |
component | The output argument that contains the TextBehaviourComponent or null . |
true
if the TextBehaviourComponent is in the Behaviour Profile, false
otherwise.T | : | TextBehaviourComponent |
bool Calcatz.Sequine.TextBehaviourProfile.TryGetAllSubclassOf< T > | ( | Type | type, |
List< T > | result | ||
) |
Gets all the
that are subclasses of the specified type, if there are any.
T | A type of TextBehaviourComponent. |
type | A type that inherits from TextBehaviourComponent. |
result | The output list that contains all the
|
true
if any TextBehaviourComponent have been found in the profile, false
otherwise.T | : | TextBehaviourComponent |
bool Calcatz.Sequine.TextBehaviourProfile.TryGetSubclassOf< T > | ( | Type | type, |
out T | component | ||
) |
Gets the
, which is a subclass of type , if it exists.
T | A type of TextBehaviourComponent. |
type | A type that inherits from TextBehaviourComponent. |
component | The output argument that contains the TextBehaviourComponent or null . |
true
if the TextBehaviourComponent is in the Behaviour Profile, false
otherwise.T | : | TextBehaviourComponent |
List<TextBehaviourComponent> Calcatz.Sequine.TextBehaviourProfile.components = new List<TextBehaviourComponent>() |
A list of every setting that this Sequine Text Behaviour Profile stores.
float Calcatz.Sequine.TextBehaviourProfile.delayPerCharacter = 0.05f |
float Calcatz.Sequine.TextBehaviourProfile.durationPerCharacter = 0.1f |
bool Calcatz.Sequine.TextBehaviourProfile.isDirty = true |