void Start() { rb = GetComponent <Rigidbody>(); rends = GetComponents <Renderer>(); plateShader = Shader.Find(Constants.SHADER_NAME_SHAKE); noisePing = gameObject.GetComponent <NoisePinger>(); }
protected override void Start() { base.Start(); noisePing = gameObject.GetComponent <NoisePinger>(); }