In your case, I think you can. Let’s say for example you have some method:
    private static void PowerUp(List<Monster> monsters)
    {
       // do smth like: 
       foreach(var m in monsters)
       {
          m.Invulnerable(); 
       {
    }
In that case, it’s totally fine reuse your code but if it’s something 3D specific you may not be able to reuse it. Good luck with your project.
0
solved can i use the 2D code in unity into my 3D project?