public void set_CrystalSum(KBEngine.Entity entity, object v = null) { if (!hasRenderObj(entity)) { return; } SceneEntityObject target = (SceneEntityObject)entity.renderObj; target.set_CrystalSum(entity.getDefinedProperty("CrystalSum")); }