private Controller2D c; // stores the Controller2D into a variable that can be called void Awake() { c = GetComponent <Controller2D>(); }
// Use this for initialization void Start() { controller = GetComponent <Controller2D>(); }