protected virtual void Awake()
 {
     inertialMotor = inertialMotor ?? GetComponent<InertialMotor>();
     carousel = carousel ?? GetComponent<AbstractCarousel>();
 }
Example #2
0
 protected virtual void Awake()
 {
     inertialMotor = inertialMotor ?? GetComponent <InertialMotor>();
     carousel      = carousel ?? GetComponent <AbstractCarousel>();
 }