Quantcast
Channel: Questions in topic: "namespace"
Browsing all 398 articles
Browse latest View live

namespaces and script names

I am working on a large project with loads of games under one repo and unity project. These are considered mini games in some respects. How can I work in this same repository, a different branch and...

View Article


[Serialize Field] Not working, and another issue

Okay so I have this code that's setting up player movement https://hastebin.com/joyohonoqa.cs My issue lies on the unity side, it says "PlayerMovement.animator" is never assigned to, and will always...

View Article


The Issue with 'Func'

I'm having problems with addons defining their own version of 'Func' so that they can use the syntax from later versions of .NET. The problem is that they don't define **func** in their own namespaces...

View Article

Make visual Studio Ignore some folders for namespace refactoring

Hi, I hope this is the right place for this Question, sorry if not. I made a project and wanted to do propper namespaces as I was often told to make Namespaces based on folderstructure. So I wanted to...

View Article

Which is the namespace of the Joystick pack?,Which is the nameSpace of...

I need this namespace of this pack for associate the joystick to player script, the namespace is the name that you put after "using", like: using UnityEngine; HELP ME, PLEASE!!!,I want to know which is...

View Article


How to reference a script within another script?

Whenever I try to reference a script in my Enemy's AI script by referencing the namespace of the A*PathfindingPackage's Destination Setter Script, but when I try to reference it using "public...

View Article

Namespace not found (again, sorry)

Ok, I have my games folder structure set out as follows: Assets/Scripts/Subfolder/script.cs Assets/AddinCompany/AddinName/Scripts/addinScript.cs...

View Article

How I can fix This? HELP ME!

Library\PackageCache\com.unity.package-manager-ui@2.0.7\Editor\AssemblyInfo.cs(7,12): error CS0246: The type or namespace name 'UxmlNamespacePrefixAttribute' could not be found (are you missing a using...

View Article


Scripts can't see other scripts in certain folders ("The name does not exist...

Only recently this has started to become a big problem. Used to be an error that I could solve pretty easily with logic, but in the last couple versions, it happens on half of my projects and the only...

View Article


Using two scripts for one GameObject that are in the same namespace not...

Hello guys! So I am working on a project for college with some fellow students and to be able to differentiate all the written scripts we started using Namespaces today. And since the moment I put all...

View Article

Can't reference other namespaces from within TextMeshPro (TMPro) namespace.

I'm trying to add something to a textmeshpro class, but for some reason it can't find any references I try to make within the textmeshpro namespace. Why is this. From research it seems to maybe be...

View Article

namespace could not be found

So I have been having massive issues with coding today. I don't really know what happened but my camera controller wasn't working so I deleted the script and rewrote it exactly the same. When I saved...

View Article

using Valve.VR isn't importing namespace

This is happening to me with the proper IDE set using Unity 2019.3 with Open VR Desktop 2.0.5 and Steam VR2.2.0. I have regenerated project files for the .csproj from all sources. I have deleted...

View Article


Building error with the asset Hexplanet Pro

>quote Yesterday I purchased the Unity Asset Hexplanet Pro which is working fine in the editor, but whenever I try to build for Android, I get the following errors at PlanetVertexData 13, 6 "The...

View Article

Unity types gone after Visual Studio update

In the title. I re-installed Visual Studio and now "only" half of all types are gone. Stuff like Unity.Mathematics types are there, but the ultra basic UnityEngine types like Camera or [SerializeField]...

View Article


I cant figure out these errors

first Error Msg:Assets/Opsive/Shared/Game/Scheduler.cs(12,30): error CS0246: The type or namespace name 'SchedulerBase' could not be found. Are you missing an assembly reference?...

View Article

How to solve 5k errors.. for photonNetwork

Hello I am using photonnetwork with unity I have 5k errors.. All errors is like screenshot![alt text][1] [1]: /storage/temp/168470-스크린샷-2020-10-01-오후-75700.png

View Article


unity ios editor does not exist in the namespace

I cant get all namespaces from ios. I checked I have add IOS module correctly in my unity hub. I have googled several hours, but I cant fix this problem. Please help me, thanks! My unity version is...

View Article

Unity Cannot find Namespace 'UnityEngine.Experimental.Rendering.Universal;

I am getting this error error CS0234: The type or namespace name 'Universal' does not exist in the namespace 'UnityEngine.Experimental.Rendering' (are you missing an assembly reference?) I am using...

View Article

How can you list all classes inside a namespace (such as UnityEngine) and...

I was able to list all methods from a given class by following this link: https://answers.unity.com/questions/657436/how-to-list-all-the-properties-and-methods-from-th.html Though, I now need to get a...

View Article
Browsing all 398 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>