Skip to content

Rendre invisible un acteur en fonction de l'affichage d'une scene #737

Answered by Synfactory
Synfactory asked this question in Q&A
Discussion options

You must be logged in to vote

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
};

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JeremieDENAEGEL
Comment options

@Synfactory
Comment options

Answer selected by Synfactory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants