The Cloth class provides an interface to cloth simulation physics.
| bendingStiffness | Жёсткость сгибания ткани. |
| capsuleColliders | An array of CapsuleColliders which this Cloth instance should collide with. |
| clothSolverFrequency | Number of cloth solver iterations per second. |
| coefficients | The cloth skinning coefficients used to set up how the cloth interacts with the skinned mesh. |
| collisionMassScale | How much to increase mass of colliding particles. |
| damping | Заглушить движение ткани. |
| enableContinuousCollision | Enable continuous collision to improve collision stability. |
| enabled | Включена ли ткань? |
| externalAcceleration | Константа, внешнее ускорение, применяемое к ткани. |
| friction | The friction of the cloth when colliding with the character. |
| normals | Текущие нормали объекта ткани. |
| randomAcceleration | Случайное, внешнее ускорение примененное к ткани. |
| selfCollisionDistance | Minimum distance at which two cloth particles repel each other (default: 0.0). |
| selfCollisionStiffness | Self-collision stiffness defines how strong the separating impulse should be for colliding particles. |
| sleepThreshold | Cloth's sleep threshold. |
| sphereColliders | An array of ClothSphereColliderPairs which this Cloth instance should collide with. |
| stiffnessFrequency | Sets the stiffness frequency parameter. |
| stretchingStiffness | Жесткость растягивания ткани. |
| useGravity | Должна ли гравитация влиять на симуляцию ткани? |
| useTethers | Use Tether Anchors. |
| useVirtualParticles | Add one virtual particle per triangle to improve collision stability. |
| vertices | Текущие позиции вершин объекта ткани. |
| worldAccelerationScale | How much world-space acceleration of the character will affect cloth vertices. |
| worldVelocityScale | How much world-space movement of the character will affect cloth vertices. |
| ClearTransformMotion | Clear the pending transform changes from affecting the cloth simulation. |
| GetSelfAndInterCollisionIndices | Get list of particles to be used for self and inter collision. |
| GetVirtualParticleIndices | Get list of indices to be used when generating virtual particles. |
| GetVirtualParticleWeights | Get weights to be used when generating virtual particles for cloth. |
| SetEnabledFading | Fade the cloth simulation in or out. |
| SetSelfAndInterCollisionIndices | This allows you to set the cloth indices used for self and inter collision. |
| SetVirtualParticleIndices | Set indices to use when generating virtual particles. |
| SetVirtualParticleWeights | Sets weights to be used when generating virtual particles for cloth. |
| gameObject | Игровой объект к которому прикреплён данный компонент. Компонент всегда прикреплён к игровому объекту. |
| tag | Тег данного игрового объекта. |
| transform | The Transform attached to this GameObject. |
| hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
| name | The name of the object. |
| BroadcastMessage | Вызывает метод названный methodName на каждом MonoBehaviour этого game object-а или любого из его потомков. |
| CompareTag | Помечен ли данный игровой объект тегом tag? |
| GetComponent | Возвращает компонент типа type, если он прикреплен к игровому объекту и null, если не прикреплен. |
| GetComponentInChildren | Возвращает компонент типа type в GameObject или некоторого его потомка через поиск в глубину. |
| GetComponentInParent | Возвращает все компоненты типа type из GameObject'а или из любого его родителя. |
| GetComponents | Возвращает все компоненты типа type в GameObject. |
| GetComponentsInChildren | Возвращает все компоненты типа type в GameObject или любому из его потомков. |
| GetComponentsInParent | Возвращает все компоненты типа type в GameObject или любому из его родителей. |
| SendMessage | Вызывает метод с названием methodName в каждом MonoBehaviour в этом игровом объекте. |
| SendMessageUpwards | Вызывает метод с именем methodName в каждом MonoBehaviour в этом игровом объекте и в каждом предке поведения. |
| GetInstanceID | Returns the instance id of the object. |
| ToString | Returns the name of the GameObject. |
| Destroy | Удаляет GameObject, Component или Asset. |
| DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
| DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
| FindObjectOfType | Returns the first active loaded object of Type type. |
| FindObjectsOfType | Returns a list of all active loaded objects of Type type. |
| Instantiate | Clones the object original and returns the clone. |
| bool | Does the object exist? |
| operator != | Compares if two objects refer to a different object. |
| operator == | Compares two object references to see if they refer to the same object. |