Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vars windows doesn't show all the declared variables #202

Open
novavision opened this issue Jul 30, 2021 · 0 comments
Open

Vars windows doesn't show all the declared variables #202

novavision opened this issue Jul 30, 2021 · 0 comments

Comments

@novavision
Copy link

Here is the Variables.cs

using LunarConsolePlugin;

namespace App.Utils
{
    [CVarContainer]
    public static class Variables
    {
        public static readonly CVar fingersCount = new CVar("Finger count", 1);
        public static readonly CVar zoomSensitivity = new CVar("Zoom sensitivity", 1f);
        public static readonly CVar moveSensitivity = new CVar("Move sensitivity", 1f);
        public static readonly CVar rotationSensitivity = new CVar("Rot sensitivity", 1f);
        public static readonly CVar dampFactor = new CVar("Damp factor", 10f);
    }
}

and here how Actions & Vars window looks like in Editor on Play
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant