void Start() { joystick = GameObject.Find("Joystick").GetComponent <SimpleInputNamespace.Joystick>(); tCamera = GameObject.Find("Main Camera").GetComponent <Transform>(); rPlayer = GetComponent <Rigidbody2D>(); aPlayer = GetComponent <Animator>(); }