Example #1
0
    // Use this for initialization
    void Start()
    {
        playerInput = GetComponent <PlayerInputByKeyboard>();
        rigidbody   = GetComponent <Rigidbody>();

        playerScale = transform.localScale;
    }
 // Use this for initialization
 void Start()
 {
     rigidbody   = GetComponent <Rigidbody>();
     playerInput = GetComponent <PlayerInputByKeyboard>();
 }