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

Why are compiler defines never respected FROM *.rsp files WHEN namespaces are...

**Issue** I have much success with RSP files for "-unsafe". It works in all unity versions and all platforms my team requires. However, I recently added custom defines to the RSP files. Everything...

View Article


Unity namespace cannot be found (C# MonoDevelop)

Hi, just having a little issue here. I updated from 5.5 to 5.6 and all my scripts aren't recognizing the Unity namespace in MonoDevelop (C#). The game still compiles without any errors, but it annoys...

View Article


Having problem with 2D Roguelike tutorial Error: " error CS0101: The...

I am having problems with 2D Roguelike and I get an error code; error CS0101: The namespace `Completed' already contains a definition for 'BoardManager'` Anytime if "namespace Completed" is removed i...

View Article

Why can't compiler find Physics.ClosestPoint or Collider.ClosestPoint?

So according to the documentation these functions exist: https://docs.unity3d.com/ScriptReference/Physics.ClosestPoint.html https://docs.unity3d.com/ScriptReference/Collider.ClosestPoint.html However...

View Article

the type or namespace name 'CBBinding' could not be found.,the name...

using UnityEngine; using System.Collections; using Chartboost; public class CBads : MonoBehaviour { public bool shown = false; // Use this for initialization private CBads CB; private CBManager void...

View Article


What are the unityeditorinternal and the unityengineinternal namespace and...

When I type "using" intelisense give me two namespaces those I never heard about and missing from the docs: __UnityEditorInternal__ and __UnityEngineInternal__ or maybe I didn' found them. What are...

View Article

CompilerParameters not found in System.CodeDom.Compiler

Hey folks, I am trying to use YieldProlog in my project but I am having a rather peculiar issue. Although I am using the namespace System.CodeDom.Compiler and my references include, obviously, the...

View Article

Dumb Question - Can't use Standard Assets package in scripts.

I've imported Standard Assets 2D and CrossPlatformInput. However when I make a new script I can't `using UnityStandardAssets` or `UnityStandardAssets.CrossPlatformInput`, MonoDevelop just doesn;t...

View Article


Unity 5.6.0p3 does not recognize class inside namespace

This works: using Zenject; public class UiSignalInstaller : MonoInstaller { public override void InstallBindings() { Container.DeclareSignal(); Container.Bind().AsSingle().NonLazy(); } } public class...

View Article


Create asset bundle on backend - using Unity namespace in backend app

Hello! I am going to give possibility for user to upload content (some 3d model) from web CMS and then, in Mobile App created with Unity - download it and show for user. Please tell me - is there a...

View Article

Error CS0234: The type or namespace name `IActiveBuildTargetChanged' does not...

Hi, I was searching for this error and I found [this](http://answers.unity3d.com/questions/1114080/the-type-or-namespace-name-unityeditor-could-not-b-2.html ) answer but it is not working. I moved...

View Article

Namespace error from external assets

Hi everyone, english is not my first language so i'll try to explain you the problem as well as i can. I'm working on a project compiled from many people before me so i don't really know what did they...

View Article

Is there a way to see namespaces in Editor ? (complete class name)

Hi, Unity doesn't show complete class name, this can be confusing, for instance with the search box in the inspector. (if same class name but different namespace) Is there a solution or good practices?

View Article


Compiled managed dll that references Unity APIs from different Unity versions

Let's say there's some API A in Unity 5.6.x that is deprecated in 2017 and there is some other API B in 2017 that does not exist yet in 5.6.x. Is there any way to create a compiled managed dll that...

View Article

error CS0118: 'Player' is a 'namespace' but a 'type' was expected

using System.Collections; using System.Collections.Generic; using UnityEngine; using Player ; namespace Player { public class MonoBehaviour { Player pl1 = new Player (); GameObject [] pauseObjects;...

View Article


Assets/Looper.cs(4,23): error CS0246: The type or namespace name...

hey everybody i've got this script from someone but it wont work and i can't get it to work it keeps giving me this error IN CONSOLE Assets/Looper.cs(4,23): error CS0246: The type or namespace name...

View Article

UnityEngine not found in MonoDevelop

Hi all, I have recently noticed that UnityEngine was not recognized in MonoDevelop for one of my projects. It works fine for all my other projects, even ones made last year. I get the error CS0103 :...

View Article


Namespace not working

I am making a script that should simplify things for other scripts, and to use the functions I decided to use a namespace. The script looks like this: using System.Collections; using...

View Article

.NET dll seen as native in Unity3D

The purpose of the hardware here is to connect buttons, joystick, switches etc. to it and then to read it out by using the API and turning the channel values into parameters that can be used in de...

View Article

Variable type Target Unity

The script (In C#): public class Gun : MonoBehaviour { public GameObject enemy; // Use this for initialization void Start () { } public float damage = 100f; // Update is called once per frame void...

View Article
Browsing all 398 articles
Browse latest View live


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