示例#1
0
 private static void Postfix(DeathMonitor __instance)
 {
     __instance.dead.RemoveEffect(MOURNING);
     __instance.dead.carried
     .Enter(HideCorpse)
     .Exit(UnHideCorpse);
 }
示例#2
0
    // Start is called before the first frame update
    void Start()
    {
        if (!manuallyDisabled)
        {
            deathMonitor    = FindObjectOfType <DeathMonitor>();
            lifeMonitor     = FindObjectOfType <LifeMonitor>();
            bodyPartManager = FindObjectOfType <BodyPartManager>();

            //Time.timeScale = globalTimeScalingFactor;
            isTimePassing    = false;
            currentTime.text = "00:00:00";
            clockTarget      = 0.0f;
            timeElapsed      = 0.0f;
        }
    }