Sigma88 changed the topic of #Kopernicus to: #Kopernicus | Release 1.2.2-5 - https://git.io/v0Gg5 | Pictures: http://git.io/vWxD6 | List of packs: http://git.io/vWjiY | GitHub: http://git.io/vWAFE | Examples: http://git.io/vWAF9 | Visual Editor: http://git.io/vWAbq | Funny Quotes: https://git.io/vwsX1 | <NathanKell> Unity >.> | <Sigma88> probably just drunk users as usual
Olympic1 has quit [Read error: Connection reset by peer]
Olympic1 has joined #Kopernicus
<Sigma88> 0/
Olympic1 has quit [Ping timeout: 190 seconds]
Olympic1 has joined #Kopernicus
<Thomas> o/
UmbralRaptor is now known as NomalRaptor
<Sigma88> 0/
<Sigma88> thomas is it possible to get a list of all gameobjects on a planet?
<Thomas> Sigma88: ^
<Sigma88> what am I looking at?
<Sigma88> this looks like a thing that prints a tree of game objects
<Sigma88> I guess planets are somewhere in there, and I can look at the children of each planet
<Sigma88> right?
<Thomas> Sigma88: This prints out the tree of one gameobject
<Thomas> you need to pass the planets game object to it
<Sigma88> prints as in "prints in the logs" ?
<Thomas> yes
<Sigma88> what if I want a list of objects?
<Sigma88> like an array
<Sigma88> one I can go through ingame
<Sigma88> what does GameObjectWalk do?
<Sigma88> oh nevermind
<Sigma88> it's the name of the code you linked me
<Sigma88> :)
<Sigma88> ok, so starting from the planet I recursively look for all transforms and so I should get a list of objects
<Sigma88> I can then browse the list of objects for what I am looking for
<Sigma88> right?
<Thomas> Yes, you copy the name, and search for the name you need
<Sigma88> I don't want to use names
<Sigma88> I want to find all the "Lights"
<Sigma88> so that I can resize them
<Thomas> object.GetComponentsInChilden<Light>()?
<Sigma88> does that work even for children of children?
<Sigma88> or just for the first generation?
<Thomas> works for everything
<Sigma88> everything deeper in the tree than the object I use
<Sigma88> right?
<Sigma88> sounds good
<Sigma88> and can I get the planet object from "FlightGlobals.Bodies" ?
regex has joined #Kopernicus
TonyAirborne has joined #Kopernicus
TonyC_alt has joined #Kopernicus
TonyAirborne has quit [Ping timeout: 383 seconds]
TonyC_alt has quit [Read error: Connection reset by peer]
NomalRaptor is now known as UmbralRaptor
regex has quit [Remote host closed the connection]
Raidernick has quit [Read error: Connection reset by peer]
Raidernick has joined #Kopernicus