private void Awake()
 {
     _rigidbody     = GetComponent <Rigidbody>();
     _colorChanger  = GetComponent <ColorChanger>();
     _sfxPresenter  = GetComponent <SFXPresenter>();
     _figureRotator = GetComponent <FigureRotator>();
 }
Beispiel #2
0
 private void Awake()
 {
     _colorChanger     = GetComponentInParent <ColorChanger>();
     _backSideRenderer = GetComponent <MeshRenderer>();
 }