bteo10
1
Ok so I created a custom package with a class. This class has some simple methods that will help make development easier.
I installed it in my project via the package manager. I can use the namespace of the class in my package. but in order to use the methods from my package I have to either initialize the class or make them static and call them with their class prefix like: “MyClass.MyMethod();”. I want to just be able to use my method like this: “MyMethod();”. How can I do this?
I know this is possible because I’ve seen it in someone’s project.
I believe you are refering to inheritance…