Issues found by rider

ffbh

Member
Recently, I've been in the process of removing the GameObject-related components from the behavior tree code. While reviewing the code, Rider detected several minor issues, including some related to performance. Could you please install Rider and inspect these issues? I've listed some of them below.

1. The main camera should use the cached oneScreenshot 2024-05-29 at 2.29.14 AM.png

2. use dict.TryGetValue("DetachedTasks", out var value) for it to avoid to query the dict twice.
Screenshot 2024-05-29 at 2.29.35 AM.png
 
Back
Top