mirror of
https://github.com/ApfelTeeSaft/Slender.git
synced 2026-08-26 19:33:36 +00:00
20 lines
252 B
C#
20 lines
252 B
C#
using UnityEngine;
|
|
|
|
public class SMModelScript : MonoBehaviour
|
|
{
|
|
public SlenderMan SM;
|
|
|
|
public PlayerScript view;
|
|
|
|
private void Update()
|
|
{
|
|
view.cansee = false;
|
|
view.drain = 0f;
|
|
}
|
|
|
|
private void OnWillRenderObject()
|
|
{
|
|
SM.CheckSanity();
|
|
}
|
|
}
|