x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Non-Editable variable shows up on Instanced UObject

Hello--

I have a blueprint variable which I would like to not expose externally. "Editable" is set to false, but it still shows up as an editable value when within a class which has "DefaultToInstanced".

This blueprint variable is a float, and the blueprint's parent class inherits from UObject with: UCLASS(abstract, MinimalAPI, EditInlineNew, DefaultToInstanced, CollapseCategories, BlueprintType, Blueprintable)

Is this a bug, or working as indended?

Cheers, J

Product Version: Not Selected
Tags:
more ▼

asked May 04 '14 at 08:30 PM in Blueprint Scripting

avatar image

JDizzleSTiX
68 4 6 9

avatar image JDizzleSTiX May 04 '14 at 09:11 PM

As an update-- I have worked around this issue by assigning my non-Editable variable to a "Hidden" category which the class will hide using "HideCategories=(Hidden)"

This works for now, but I would love to hear suggestions on a cleaner solution :)

J

avatar image JoshyMW Mar 25 '15 at 11:57 AM

I have the same issue - it would be very useful especially when working with people who might easily misuse parts of your application.

It seems to me that the Editable part of variables has mixed definitions on the documentation page. The lower definition on the variables document page is "Editable: Set whether or not it is possible to edit the value of the variable in the Blueprint Defaults and the Blueprint's Details tab", so this might be the expected behaviour. Ticked or not, the variable 's Setter is always exposed.

I am sure at one point around 4.6/4.7p this was working as we would like.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question