void Awake() { switchInner = this.GetComponentInParent<SwitchInner>(); successSound = this.GetComponent<AudioSource> (); }
void Awake() { switchInner = this.GetComponentInParent<SwitchInner>(); }