public override void Initialize()
        {
            base.Initialize();

            _scopeId = NezImGui.GetScopeId();

            // we could have zero or 1 param
            ParameterInfo[] parameters = (_memberInfo as MethodInfo).GetParameters();
            if (parameters.Length == 0)
            {
                return;
            }

            ParameterInfo parameter = parameters[0];

            _parameterType = parameter.ParameterType;
            _parameterName = parameter.Name;
        }
Пример #2
0
 protected Spawn()
 {
     this.imGuiId = baseId() + " #" + NezImGui.GetScopeId().ToString();
 }