protected override void Awake()
 {
     base.Awake();
     hitbox          = GetComponent <Collider>();
     rotateAndBounce = GetComponentInChildren <RotateAndBounce>();
     rotateAndBounce.SetOrigin(transform.position);
 }
Ejemplo n.º 2
0
 protected override void Awake()
 {
     rotateAndBounce = GetComponentInChildren <RotateAndBounce>();
     hitbox          = GetComponent <Collider>();
     base.Awake();
 }