I want crate array in C# of objects of some type, f. e. typeA. This array will contain objects of type TypeB. (Type B is extending TypeA). Then i want add these objects to scene. Should i use normal C# objects or Unity’s GameObjects? I don’t know if one GameObject can extend another.
Anything added to a scene needs to be a GameObject.
Note that Unity uses a component-based architecture: rather than deriving from GameObject, you’d typically create a prefab that was a GameObject + the script components attached necessary to define your custom “type”… It can take some getting used to, but it’s worth learning and embracing the “unity way” rather than fighting it.