I have a singleton script DataImport.gd and there is an importdata() function within the script. I am trying to get the timing of importing data right with call_deferred on this function within GameRoot node(and game options).
Can I do this and what is the syntax ? Tried with funcref but unable to make it work.
Also not ok:
var load_data_ref = funcref(DataImport,"importdata")
Any help appreciated.