예제 #1
0
    void Start()
    {
        // position player in entrance
        // init other stuff

        noise = GetComponentInChildren <NoiseRadius>();

        NoiseRadius.Instance.transform.localScale = GameDesign.Instance.startingNoiseSize;
    }
예제 #2
0
 void Awake()
 {
     Instance      = this;
     noiseCollider = Instance.GetComponent <SphereCollider>();
 }