Questions tagged [code-reflection]

Reflection is the ability of a computer program to examine, introspect, and modify its own structure and behavior at runtime. Use this tag for programming features that need to reason about the code itself. For questions about rendering visual reflections, use the Reflection-Rendering tag instead.

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
510 views

Making generic type T method as a layer of abstraction for Unty3D's EditorGUI field draw methods

I am making a visual tool for Editor Window on Unity3D, and I am just recently using System.Reflection methods to get class's assembly data, to get information about properties, fields and methods (...
0
votes
0answers
17 views

Preview Clip of AudioSource, with audioSource settings in editor

I have a custom editor script wich permit me to add some behavior to a unity components: Here you see the extra extensions with the "test" label. I would like to add in that audio source editor, the ...