#Two questions about the Scene graph tree

1 messages · Page 1 of 1 (latest)

dark turtle
#

Two quick questions.

  1. Why do the HealthComponent and PlayerMovementComponent have an "eye" next to them, but the GridPositionComponent does not?
  2. Why is the script icon gray for some, and white for others?
tacit flax
#
  1. Eye represents visibile property which Node2D have but Node does not have
  2. Not very sure, but i think it is when you add the script via add child node
dark turtle
#

TY; I am looking some more an in the .tscn files I can see that the ones that are grayed out are marked with "This script is a custom type"

#

Not sure how I did that, or what i did differently