Using custom properties through utiLITI #648
Replies: 4 comments
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022).
Posted: 2019-03-12 15:49:37
User: CalvinMT [] (age: 1451 days 🔥; posts: 114)
Hi!
I'm having trouble using the custom properties I've added to some of my CollisionBoxes through utiLITI.
I've tried to get them as followed, but they keep returning null.
/* 1: returns null */ collisionBox.getProperties().getProperty("propertyName"); /* 2: returns error because of 1 */ collisionBox.getProperties().getProperty("propertyName").getAsString(); /* 3: returns null */ collisionBox.getProperties().getStringValue("propertyName");
I tried using only lower case names and even one letter names, but still nothing.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions