// Use this for initialization void Start() { record = RecordsScript.getRecord(); record.SumOfMaxSecrets(fatherSecret.childCount); record.MaxCountSecret(fatherSecret.childCount); record.CountSecret(0); }
public static RecordsScript getRecord() { if (record == null) { record = new RecordsScript(); } return(record); }
//Use this script to save data void Awake() { instance = this; }