// Start is called before the first frame update void Start() { myRB = GetComponent <Rigidbody2D>(); myAnim = GetComponent <Animator>(); normalizeSlopeScript = GetComponent <NormalizeSlope>(); attackScript = GetComponentInChildren <attackController>(); facingRight = true; instance = this; DoubleJump = canDoubleJump; }
// Start is called before the first frame update void Start() { rigidbody2D = GetComponent <Rigidbody2D>(); normalizeSlope = GetComponent <NormalizeSlope>(); }