Summary
[Editor-Only]
A group of transitions for display organisation in the
Animancer.Editor.TransitionLibraries.TransitionLibraryWindow.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor .TransitionLibraries - Interfaces
-
- ICopyable
<TransitionGroup> - IEquatable
<TransitionGroup>
- ICopyable
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["ICopyable<TransitionGroup>"]
Type-.->Interface1["IEquatable<TransitionGroup>"]
Type["TransitionGroup"]
class Type type-node
Syntax
[Serializable]
public class TransitionGroup : ICopyable<TransitionGroup>, IEquatable<TransitionGroup>
Attributes
| Type | Description |
|---|---|
| Serializable |
Properties
| Name | Value | Summary |
|---|---|---|
| Count | int |
[
UnityEngine.SerializeField]
The number of transitions in this group.
|
| Index | int |
[
UnityEngine.SerializeField]
The display index of the first transition in this group.
|
| IsExpanded | bool |
[
UnityEngine.SerializeField] Is this group currently showing its contents? |
| Name | string |
[
UnityEngine.SerializeField] The display name of this group. |
Methods
| Name | Value | Summary |
|---|---|---|
| CopyFrom |
void |
Copies the contents of `copyFrom` into this object, replacing its previous contents.
|
| Equals |
bool |
Are all fields in this object equal to the equivalent in `obj`?
|
| Equals |
bool |
Are all fields in this object equal to the equivalent fields in `other`?
|
| GetHashCode |
int |
Returns a hash code based on the values of this object's fields.
|
| IsInRange |
bool |
Does the specified range contain this group?
|
| ReduceCount |
void |
Reduces the
Animancer.Editor.TransitionLibraries.TransitionGroup.Count and ensures it doesn't go below zero. |
| ToString |
string |
Operators
| Name | Value | Summary |
|---|---|---|
| operator != |
bool | |
| operator == |
bool |