Hi, where do you get the formulas from?
When you encounter functions like floor, you can look them up in a coding context, and if that doesn’t yield results search as “mathf floor” (
mathf houses math functions for floats in C#).
In the list you’ll find both floor (rounding down) and log (logarithm). To use them in unity, you’ll use code like:
Mathf.<function>(<parameters>)
When Visual Studio is set up correctly, as it should with a recent Unity version properly installed, it should already suggest options when typing the dot after Mathf. You can then plug your formula into an action (using the Custom Action Wizard as a start, and looking at simpler example actions, e.g. Mathf.Abs).