bugsy
New Member
Posts: 1
|
Post by bugsy on Jun 26, 2021 8:53:37 GMT
Hello! I am using the Adventure Creator unity plugin and I am using 'action lists' to add and remove targets dynamically throughout the game. After reading the website
ProCamera2D.Instance.AddCameraTarget(myTransform);
Is the way to go for adding targets, however this doesn't work when I directly plug it into the code.
I get the error "Assets\AddTargets.cs(11,9): error CS0103: The name 'ProCamera2D' does not exist in the current context"
I am probably butchering this attempt, I am not too family with Unity itself. How do I fix this error?
|
|
|
Post by Luís Pedro Fonseca on Jun 28, 2021 21:47:12 GMT
Hi bugsy, In that case you must add to the top of your class something like: using Com.LuisPedroFonseca.ProCamera2D;
|
|