14 lines
245 B
Haxe
14 lines
245 B
Haxe
package lnx;
|
|
|
|
class ReadConfig extends iron.Trait {
|
|
public function new() {
|
|
super();
|
|
|
|
notifyOnInit(function() {
|
|
// Retrieve property set from logic nodes
|
|
var prop = iron.Scene.global.properties.get("test");
|
|
trace(prop);
|
|
});
|
|
}
|
|
}
|