Version: 5.3 (switch to 5.4b)
IdiomaEnglish
  • C#
  • JS

Idioma de script

Selecciona tu lenguaje de programación favorito. Todos los fragmentos de código serán mostrados en este lenguaje.

AnimatorState.AddTransition

Sugiere un cambio

¡Éxito!

Gracias por ayudarnos a mejorar la calidad de la documentación de Unity. A pesar de que no podemos aceptar todas las sugerencias, leemos cada cambio propuesto por nuestros usuarios y actualizaremos los que sean aplicables.

Cerrar

No se puedo enviar

Por alguna razón su cambio sugerido no pudo ser enviado. Por favor <a>intente nuevamente</a> en unos minutos. Gracias por tomarse un tiempo para ayudarnos a mejorar la calidad de la documentación de Unity.

Cerrar

Cancelar

Cambiar al Manual
public function AddTransition(destinationState: Animations.AnimatorState): Animations.AnimatorStateTransition;
public Animations.AnimatorStateTransition AddTransition(Animations.AnimatorState destinationState);
public function AddTransition(destinationState: Animations.AnimatorState, defaultExitTime: bool): Animations.AnimatorStateTransition;
public Animations.AnimatorStateTransition AddTransition(Animations.AnimatorState destinationState, bool defaultExitTime);

Parámetros

defaultExitTime If true, the exit time will be the equivalent of 0.25 second.
destinationState The destination state.

Descripción

Utility function to add an outgoing transition to the destination state.

The transition asset that is created is added as a sub asset of the state. This function pushes an Undo operation.


public function AddTransition(destinationStateMachine: Animations.AnimatorStateMachine): Animations.AnimatorStateTransition;
public Animations.AnimatorStateTransition AddTransition(Animations.AnimatorStateMachine destinationStateMachine);
public function AddTransition(destinationStateMachine: Animations.AnimatorStateMachine, defaultExitTime: bool): Animations.AnimatorStateTransition;
public Animations.AnimatorStateTransition AddTransition(Animations.AnimatorStateMachine destinationStateMachine, bool defaultExitTime);

Parámetros

defaultExitTime If true, the exit time will be the equivalent of 0.25 second.
destinationStateMachine The destination state machine.

Descripción

Utility function to add an outgoing transition to the destination state machine.

The transition asset that is created is added as a sub asset of the state. This function pushes an Undo operation.


public function AddTransition(transition: Animations.AnimatorStateTransition): void;
public void AddTransition(Animations.AnimatorStateTransition transition);

Parámetros

transition The transition to add.

Descripción

Utility function to add an outgoing transition.

This function pushes an Undo operation.