[Mono-ue] Enum

Ryan Burnham nitro52 at iinet.net.au
Sat Jan 10 15:19:05 UTC 2015

I’m not sure, I haven’t tried exposing an enum to UE yet. It looks like that should work. When I try adding it to my Player Character the build fails with a normal enum saying it’s not a valid Unreal Class and if you declare it as a byte it crashes the UE. 

CC’ed the Mono UE list. Does anyone else know? Is this a bug?



From: Ahmet Faruk GÜNTÜRKÜN [mailto:vadsl05 at gmail.com] 
Sent: Saturday, 10 January 2015 9:12 PM
To: nitro52 at iinet.net.au
Subject: Enum


Hi I need your help :)

I wrote :


public enum AttributeNames// : uint


HealthPoint = 0,

ManaPoint = 1,

Strength = 2,

Agility = 3,

Intelligence = 4,

COUNT = 5,


[UProperty, BlueprintVisible, EditorVisible]

[Category ("BaseCharacter")]

public AttributeNames AttributeName { get; set; }

There is error say me enum have to be byte. When I do byte my enum. Game editor is crashed. How can I use enum ? Thanks a lot :) Have a nice day ...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-ue/attachments/20150110/eb7ac0c6/attachment.html>

More information about the Mono-ue mailing list