void Start() { animationLogic = GetComponent <PlatformerAnimation2D>(); }
// Use this for initialization void Start() { _motor = GetComponent <PlatformerMotor2D>(); animator = GetComponent <PlatformerAnimation2D>(); attacktrigger.enabled = false; }