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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

インスタンス編集可能のチェックをコンストラクションスクリプト内で動的に変更でき

題名の通り、インスタンス編集可能のフラグを動的に変更し、用意したenumで設定値を変更するたびに、詳細タブで出てくる項目を変更したいです。 何かしら方法はありますでしょうか?

Product Version: UE 4.16
Tags:
more ▼

asked Aug 08 '17 at 09:18 AM in Japanese

avatar image

TairaYuki
11 4 3 6

avatar image TairaYuki Aug 08 '17 at 09:49 AM

非表示ではなくとも、例えばですが、int変数2つ用意しておき、フラグがONのときはAは編集できてBは編集できないと言った感じはできますでしょうか?

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

1 answer: sort voted first

こんにちは TairaYukiさん

変数の編集可否状態の変更についてですが

現在Blueprintからは変数のmeta情報にアクセスできないため

BPのみでは実現が難しいと思われます

UnrealC++であればコンストラクションスクリプトで

Editconditionで使用するフラグを変更することで実現が可能です。

more ▼

answered Aug 09 '17 at 03:19 AM

avatar image

paperbag
894 15 4 5

avatar image TairaYuki Aug 09 '17 at 05:23 AM

paperbag さん 回答ありがとうございます。試してみたところ、意図通りの動作になりました! ありがとうございます。

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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