“Verifique se o GameObject está ativo” Respostas de código

Verifique se o GameObject está ativo

if (gameObject.activeSelf)
{
	// this happens when object is active
}
Comfortable Caterpillar

Verifique se o GameObject está ativo

// To check if a GameObject is active:
gameObject.activeSelf;
SkelliBoi

Verificação da unidade GameObject Active

if (gameObject.activeInHierarchy)
Easy Eagle

Verifique se um objeto é unidade ativa

gameObject.activeSelf //is active
!gameObject.activeSelf //isnt active
Stormy Salamander

Respostas semelhantes a “Verifique se o GameObject está ativo”

Perguntas semelhantes a “Verifique se o GameObject está ativo”

Mais respostas relacionadas para “Verifique se o GameObject está ativo” em C#

Procure respostas de código populares por idioma

Procurar outros idiomas de código