Announcement

Collapse
No announcement yet.

C# Style Properties for Variables (Auto Getter/Setter)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [FEATURE REQUEST] C# Style Properties for Variables (Auto Getter/Setter)

    I would love to have something like the following for getter and setter:

    Click image for larger version

Name:	variables.png
Views:	43
Size:	4.4 KB
ID:	1684749

    Click image for larger version

Name:	getter.png
Views:	27
Size:	20.0 KB
ID:	1684750

    Click image for larger version

Name:	setter.png
Views:	27
Size:	16.5 KB
ID:	1684751

    ​​​​​​​You could activate checkboxes to override the standard getter and/or setter of the variable. When you activate those checkboxes the custom getter/setter icons appear and you could add custom behavior. This way you could always access the properties of any BP directly without the need to create dozens of getter and setter functions in the function area of the blueprints beforehand.

    #2
    That can be done in C++
    | Savior | USQLite | FSM | Object Pool | Sound Occlusion | Property Transfer | Magic Nodes | MORE |

    Comment


      #3
      Originally posted by BrUnO XaVIeR View Post
      That can be done in C++
      Yes, I read about UFUNCTION(BlueprintSetter) but I would like to avoid C++ as much as I can, especially for something as basic as a Property. My iteration speed compared to Blueprints is just horrible.

      I am looking for a Blueprint Only solution.

      Comment

      Working...
      X