Uploaded May 2018 | Updated November 2026, 3 hours ago
Returning to Unity Observer, a project that enables you to easily analyze data in bulk from your Unity scenes. This time we're going to dive into taking advantage of C#'s reflection and how we can use it to expand the fields we can modify. To start we'll look into making it possible to edit other Vector3 fields on the Transform component attached to each Game Object.
The process for solving this takes place in a few steps. First we will add a text box that allows us to search for the property or field we want to observe. Then we will need to reflect over the component we're inspecting (for now this is hard coded to the Transform component) and attempt to find a field or property that shares the name that was provided. Once we have that we will need to verify that the field/property is of the Vector3 type. For now we only support Vector3's. Once we have a valid Vector3 field or property we can display its current value to in the existing Editor UI and expose it for editing.
By the end of this implementation we'll be able to find, view and edit any Vector3 member on a Transform component. Some examples of this include `position`, `localPosition` and `localScale`.
Join the World of Zero Discord channel: discord.gg/hU5Kq2u
Thumbnail Image Credits:
By Brocken Inaglory [GFDL (gnu.org/copyleft/fdl.html) or CC BY-SA 4.0 (creativecommons.org/licenses/by-sa/4.0)], from Wikimedia Commons
commons.wikimedia.org/wiki/File:Reflection_in_a_soap_bubble.jpg
Returning to Unity Observer, a project that enables you to easily analyze data in bulk from your Unity scenes. This time we're going to dive into taking advantage of C#'s reflection and how we can use it to expand the fields we can modify. To start we'll look into making it possible to edit other Vector3 fields on the Transform component attached to each Game Object.
The process for solving this takes place in a few steps. First we will add a text box that allows us to search for the property or field we want to observe. Then we will need to reflect over the component we're inspecting (for now this is hard coded to the Transform component) and attempt to find a field or property that shares the name that was provided. Once we have that we will need to verify that the field/property is of the Vector3 type. For now we only support Vector3's. Once we have a valid Vector3 field or property we can display its current value to in the existing Editor UI and expose it for editing.
By the end of this implementation we'll be able to find, view and edit any Vector3 member on a Transform component. Some examples of this include `position`, `localPosition` and `localScale`.
Join the World of Zero Discord channel: discord.gg/hU5Kq2u
Thumbnail Image Credits:
By Brocken Inaglory [GFDL (gnu.org/copyleft/fdl.html) or CC BY-SA 4.0 (creativecommons.org/licenses/by-sa/4.0)], from Wikimedia Commons
commons.wikimedia.org/wiki/File:Reflection_in_a_soap_bubble.jpg

.
Explore more about FFmpeg at the official website https://ffmpeg.org
Learn how to install FFmpeg: https://ffmpeg.org/download.html
If youd like to use FFmpeg for other things (like converting video snippets to GIFs) check out this blog post from GIPHY: https://engineering.giphy.com/how-to-make-gifs-with-ffmpeg/
Join the World of Zero Discord Server: https://discord.gg/hU5Kq2u Quickly Trim Video Snippets on the Command Line with FFmpeg](https://i.ytimg.com/vi/Cg2omJAOH30/mqdefault.jpg)


.
Moq is a framework for .NET that makes it easy to generate and test mocked code. Given a class you are able to replace that class with a clone that matches all of the type requirements of the class but has none of the implementation leaving the rest up to you. It is compatible with most testing frameworks, but because were hoping to later integrate with Unity 3D as part of our [Platforming game](https://www.youtube.com/playlist?list=PLEwYhelKHmigkz97T76r2bCt7wfG_1pPE) well be testing our integration of Moq with [NUnit](https://nunit.org/).
This framework is new to me so lets explore it together and cover some of the basic use cases that Id like to employ Moq for: Mocking the value of object Properties, Mocking the value of object Functions and Mocking the results of a specific function invocation. From that hopefully well be able to build a better understanding of the capabilities of Moq and how we can best use it to improve the quality of our testing.
***
To add Moq to your dotnet project you can run:
```ps1
dotnet add package Moq
```
Moq is also on GitHub. You can browse the source and see code samples there: https://github.com/moq/moq4
Join the World of Zero Discord Server: https://discord.gg/hU5Kq2u Im Learning Moq - A .NET Mocking Framework for Unit Tests](https://i.ytimg.com/vi/EJZ2xWGfFQw/mqdefault.jpg)
 in an earlier video series. You can accomplish a lot with basic distance formula to create a number of very cool effects!
If you have suggestions for how we could improve this shader or ideas on what we should do with it next let me know in the comments!
Join the World of Zero Discord channel: https://discord.gg/hU5Kq2u A Static Glowing Ring - Ripple Shader - Part 1](https://i.ytimg.com/vi/EhkBdCdNx-Y/mqdefault.jpg)




