- Home /
Question by
Suudsu2200 · Apr 30, 2015 at 05:54 AM ·
c#namespace
C# - Better Way of Using Namespaces
I am writing a card game where each card has its own script. Each of these scripts inherits from my Card class which in turn inherits from MonoBehavior. My problem is that each card script needs to use multiple namespaces (using UnityEngine, using UnityEngine.UI, etc.) and it's annoying to have to write that at the top of every card script. Is there a way to inherit the use of these namespaces from the Card class, or some other easier way to accomplish this?
Comment