The line in AIManager that marks its GameObject as DontDestroyOnLoad has been commented out. Going forward, if Soham chooses, this change can be reverted, as long as the game loop functions properly.
Most (nearly all) Debug.Log messages have been removed. Many of them were used for old debugging of old scripts, and were cluttering the cocnsole and negatively impacting performance. In general (and this goes for me, too) Debug.Log messages should be relatively rare, and certainly not be printed every frame.
This PR contains two major changes:
The line in AIManager that marks its GameObject as DontDestroyOnLoad has been commented out. Going forward, if Soham chooses, this change can be reverted, as long as the game loop functions properly.
Most (nearly all) Debug.Log messages have been removed. Many of them were used for old debugging of old scripts, and were cluttering the cocnsole and negatively impacting performance. In general (and this goes for me, too) Debug.Log messages should be relatively rare, and certainly not be printed every frame.