Hi there, I’m currently on Unity version 2022.3.4f1. My Sprite Shape tool package is updated to version 9.0.5 and yesterday I installed the Sprite Shape Extras utility package. I’ve been working on making Editor tools for my game and I’m trying to access the ClipperOffset class from the library file. Visual Studio is telling me that I cannot access the class due to its protection level (its defined as an internal class), even after including the namespace with “using ExtraClipperLib” at the top. The line that references the namespace is greyed out and says “using directive is unnecessary”. The most confusing part to me is that one of the provided scripts, LegacyCollider.cs, is able to reference the class just fine. That script has the same namespace setup as I have below, yet its “using ExtraClipperLib” is not greyed out. If anyone has any idea what is preventing me from being able to reference this class I would greatly appreciate it.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.U2D;
using ExtrasClipperLib;
namespace SpriteShapeExtras
{
public class ClipperHelper : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
ClipperOffset clipperOffset;
}
// Update is called once per frame
void Update()
{
}
}
}