Open gddhag opened 7 years ago
The SimpleActuator does this check in initialize: Reflect.hasField (target, propertyName) #if flash && !untyped (target).hasOwnProperty ("set" + propertyName) #elseif html5 && !(untyped (target).properties && untyped (target).properties["set" + propertyName]) #end
to determine wether it has to use a setter or not the MotionPathActuator just checks for:
The SimpleActuator does this check in initialize: Reflect.hasField (target, propertyName) #if flash && !untyped (target).hasOwnProperty ("set" + propertyName) #elseif html5 && !(untyped (target).properties && untyped (target).properties["set" + propertyName]) #end
to determine wether it has to use a setter or not the MotionPathActuator just checks for:
if flash false && #end Reflect.hasField (target, propertyName)