// Start is called before the first frame update void Start() { rgbd2 = gameObject.GetComponent <Rigidbody2D>(); anim = gameObject.GetComponent <Animator>(); u2dc = gameObject.GetComponent <Unity2DController>(); }
void Start() { u2dc = gameObject.GetComponent <Unity2DController>(); }