Skip to main content
ABan.1
Associate
December 1, 2022
Question

How to access inherited variables?

  • December 1, 2022
  • 1 reply
  • 787 views

Hello, the question was already posted by another user ("how to access public variables in a base class"), but never answered.

In other words, the CubeMonitor shows only variables contained in derived class, all inherited variables are invisible. Is there a way to get around or fix this?

This topic has been closed for replies.

1 reply

Richard.Chvr
Technical Moderator
December 22, 2022

Hello @ABan.1​ 

Sounds like it's not or badly supported by CubeMonitor. Will check with dev team if it's possible to improve. In the mean time you'll need to declare a public variable in your derived class that gets inherited value.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.