// Start is called before the first frame update
 void Start()
 {
     rb                = GetComponent <Rigidbody>();
     stickCollision    = GetComponent <StickCollision>();
     moveSpeed         = baseMoveSpeed;
     currentPitchAngle = initialPitchAngle;
 }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     rb             = GetComponent <Rigidbody>();
     stickCollision = GetComponent <StickCollision>();
 }