G
G
GFX Data2021-11-22 15:57:52
Unity
GFX Data, 2021-11-22 15:57:52

Which UnityEditor class allows you to access the current scene without adding a component?

Which UnityEditor class allows you to access the current scene without adding a component?
That is, I just need to throw a folder (eg. Scripts/Utils/Editor) with my own classes into the project, and access the current scene in the editor, find the necessary object (s) in it and check / add the necessary components.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
freeExec, 2021-11-22
@freeExec

UnityEditor.SceneView.sceneViews

H
He11ion, 2015-03-24
@SkidRaw

120 = 5 * 4 * 3 * 2 * 1 from here with size == 5 :

while (size > 1) {
facky = facky * size;
size = size - 1;
}
clunk(facky);

clunk stupidly shows the inscription in the console N-times (120 in our case), and your smart browser instead of 120 identical lines writes one with a repetition counter (which is 120)

E
Eugene, 2015-03-24
@e-antonov

What does display() do. apparently displays an inscription somewhere. and the code displays this inscription times times

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question