forked from LeenkxTeam/LNXSDK
merge upstream
This commit is contained in:
@ -889,6 +889,10 @@ class Scene {
|
||||
|
||||
if (StringTools.endsWith(ptype, "Object") && pval != "") {
|
||||
Reflect.setProperty(traitInst, pname, Scene.active.getChild(pval));
|
||||
} else if (ptype == "TSceneFormat" && pval != "") {
|
||||
Data.getSceneRaw(pval, function (r: TSceneFormat) {
|
||||
Reflect.setProperty(traitInst, pname, r);
|
||||
});
|
||||
}
|
||||
else {
|
||||
switch (ptype) {
|
||||
|
@ -14,7 +14,7 @@ class Time {
|
||||
return 1 / frequency;
|
||||
}
|
||||
|
||||
static var _fixedStep: Null<Float>;
|
||||
static var _fixedStep: Null<Float> = 1/60;
|
||||
public static var fixedStep(get, never): Float;
|
||||
static function get_fixedStep(): Float {
|
||||
return _fixedStep;
|
||||
|
Reference in New Issue
Block a user