// hàm truyền data về main private void passTimeToMain(int time, bool reset = false, string mode = "stopMusic") { if (PassTime != null) { PassTime.Invoke(this, new passTimeToMainEvenArgs(time, reset, mode)); } }
public static void Prefix(PassTime __instance) { Debug.LogFormat("PassTime::Begin"); __instance.m_PassTimeRealtimeSecondsPerHour = actionTime; }