I have created a derived MonoBehavior from my project which is like MyProjectMonoBehavior which keep a reference to a transform,game object and other stuff. I wonder if it if possible to tell Unity that when I create a script, instead of deriving from MonoBehavior it automatically derives from MyMonoBehavior without having to specify it each time. Does anybody have an idea ?
As far as I know, there’s no built-in way to do that.
If it’s really a bother, you could create your own *.cs files (from another program, from a script, or by hand), then bring them into your Assets folder. Unity should automatically recognize and import the new files.