test scene

Singleton.js
var Singleton = cc.Class({
extends: cc.Component,
properties: {
Label : cc.Label,
MyNode: cc.Node
},
statics: {
instance: null
},
onLoad: function () {
Singleton.instance = this;
},
});
aaa1.js
var Singleton = require(“Singleton”);
cc.Class({
extends: cc.Component,
properties: {
btn : cc.Button,
},
onLoad () {
Singleton.instance.MyNode = this.node;
},
start () {
this.btn.node.on('click', this.MyClick, this);
Singleton.instance.Label.string = "-----"; <-- error
},
MyClick : function(_btn)
{
_btn.node.getChildByName("Label").getComponent(cc.Label).string += "1";
cc.director.loadScene("Main");
}
});
Main Scene

ddd1.js
var Singleton = require(“Singleton”);
cc.Class({
extends: cc.Component,
properties: {
lblTest:
{
default:null,
type: cc.Label,
}
},
start () {
Singleton.instance.Label.string = "-----";
},
});
error
SCRIPT5007: SCRIPT5007: Unable to set property ‘string’ of undefined or null reference
SCRIPT5007: Unable to set property ‘string’ of undefined or null reference
Main Scene2

ddd1.js
var Singleton = require(“Singleton”);
cc.Class({
extends: cc.Component,
properties: {
lblTest:
{
default:null,
type: cc.Label,
}
},
start () {
// Singleton.instance.Label.string = "-----";
this.lblTest.string = Singleton.instance.Label.string;
},
});
This does not keep the singleton.
I tried to see the basic sample.
Do you have any other samples?