[Mono-ue] Using Enum
Ahmet Faruk GÜNTÜRKÜN
vadsl05 at gmail.com
Sat Jan 10 15:29:11 UTC 2015
I wrote :
[UEnum]
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/bcac9730/attachment.html>
More information about the Mono-ue
mailing list