Rendre invisible un acteur en fonction de l'affichage d'une scene #737
Answered
by
Synfactory
Synfactory
asked this question in
Q&A
-
Hello, Merci de vos retours |
Beta Was this translation helpful? Give feedback.
Answered by
Synfactory
Jun 24, 2024
Replies: 1 comment 2 replies
-
Bon j'ai finalement réussi à me dépatouiller en allant chercher la sceneKey dans une additionnelle de mon acteur et en créant un évènements onPropertyChanged : if ((this.additionals.prop1 == 'ExterieurPark') || (this.additionals.prop1 == 'ExterieurMag')) {
this.properties.visible = false
} else {
this.properties.visible = true
}; |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Synfactory
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bon j'ai finalement réussi à me dépatouiller en allant chercher la sceneKey dans une additionnelle de mon acteur et en créant un évènements onPropertyChanged :