forked from LeenkxTeam/Leenkx_Examples
update
This commit is contained in:
12
script_properties_global/Sources/lnx/ReadConfig.hx
Normal file
12
script_properties_global/Sources/lnx/ReadConfig.hx
Normal file
@ -0,0 +1,12 @@
|
||||
package lnx;
|
||||
|
||||
class ReadConfig extends iron.Trait {
|
||||
public function new() {
|
||||
super();
|
||||
|
||||
notifyOnInit(function() {
|
||||
var c = Config.inst;
|
||||
trace("Text is: " + c.text + ", speed is: " + c.speed);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user