![]() ![]() The project repository offers an easy-to-follow README to set-up the project. With: transform.SetPositionAndRotation(newPostition, newRotatation) Project Set-up The goal was to replace code assignments such as: transform.position = newPosition ![]() It improved the code performance by minimizing the number of times Unity class “transform” would be accessed. One of the analyzers that I added came from a community suggestion in the GitHub repository. I will walk through one of the analyzers that I recently added to break down the process and provide tips along the way. For example, one of the analyzers identifies empty MonoBehaviour methods, such as Start(), and recommends deleting the method to improve the code efficiency.ĭuring my internship, I created a variety of analyzers to detect different code patterns. Adding a new analyzer enables Roslyn to check for a particular code pattern, and if detected, it will recommend a code fix specified by the analyzer. The compiler uses an API to inspect and analyze code as the developer is programming which is useful to check the syntax and semantics. This tool is offered through Visual Studio, a powerful IDE, and relies on the. ![]() The Microsoft Analyzers for Unity Project intends to provide developers with Unity specific suggestions to improve their code. I was then ready to shift my attention to the Analyzer project where I would create a variety of analyzers based off community suggestions in the GitHub repository. Starting the internship with basic knowledge in C# and Unity, I initially focused on familiarizing myself with the language as well as the gaming environment. This project offers code suggestions and suppresses warnings for developers in Unity to improve their code correctness and performance. I worked specifically on the Microsoft Analyzers for Unity Project, an open-source project on GitHub. I had the incredible opportunity to intern with the Tools for Unity Team this past month. ![]() My name is Shreya Pandit, and I am an undergraduate student majoring in Computer Science and Cognitive Science at MIT. This post was authored by guest blogger Shreya Pandit, an intern on the Visual Studio Tools for Unity team and published by the team on her behalf. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |