Hi,
I would like to make my code aware of a missing class and act accordingly.
So let's say that I have a class called "InputBroker", if it exists then I use it, else I call directly the Input manager.
Currently I get the following and expected error: error CS0103: The name `InputBroker' does not exist in the current context
how can achieve this? I am using c#.
Thanks for your help,
Jean
DaveA
March 17, 2011, 7:32am
2
Use the string version of GetComponent, get by name. If it returns null, it does not exist. I would imagine if you need a class, use the base class 'Component' (for variable type, say)
system
February 23, 2012, 11:17pm
3
could some one help me it came up w/ the same error but i cant fix it it says “Error ‘RotationX’ does not exist,” yes I am using C# so please help me
system
February 23, 2012, 11:17pm
4
could you clarify that for me please