public override HotfixObject Instantiate(string rTypeName, params object[] rArgs) { if (mApp == null) { return(null); } var rObject = new HotfixObject(this, rTypeName); rObject.Object = Activator.CreateInstance(mApp.GetType(rTypeName), rArgs); return(rObject); }
public override HotfixObject Instantiate(string rTypeName, params object[] rArgs) { if (mApp == null) { return(null); } var rObject = new HotfixObject(this, rTypeName); rObject.Object = mApp.Instantiate(rTypeName, rArgs); return(rObject); }
public async Task Initialize() { MainLogicHotfixObj = HotfixManager.Instance.Instantiate(MainLogicScript); await(HotfixManager.Instance.Invoke(MainLogicHotfixObj, "Initialize") as Task); }