wewrere41 / Unity-GetComponent-Generator

Home Page:HomePage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GetComponent Generator For Unity

Medium Blog.

A Source Generator that automates creating GetComponent methods for components.

Additionally, it includes a Roslyn Analyzer. This allows to provide a warning if the InitializeComponents method is not called.

Default Way

ExampleA

With Source Generator

ExampleB

Unity.mp4

About

HomePage

License:MIT License


Languages

Language:C# 100.0%