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

Implement Apple TV ODR (On Demand Resources)?

I got quite confused when I tried to copy the code from this Apple TV ODR blogpost into my project [mastering-on-demand-resources-for-apple-platforms][1] The Unity TvOS Platform does not know about the...

View Article


namespace UnityEditor.iOS missing in one of two projects

I have two projects, both set to target platform TVOS, both running on Unity 5.3.2p4. One project finds the UnityEditor.iOS namespace, the other one does not. Please help me finding out where the...

View Article


Tiled2Unity something about shadowraycasting

When I tried to use tiled2unity v9.13.1 for Unity 4.7.1 to import a tiled map, it gave me a few errors. The 5 errors I got were "The type or namespace name 'ShadowCastingMode' does not exist in the...

View Article

Please help with insert a semicolon at the end!

Hey everyone. I recently had this compiler error: UCE0001: ';' expected. Insert a semicolon at the end. After doing some research, I realized that the problem was not necessarily in the semicolon, but...

View Article

Multiple errors with vuforia namespace names while building with Unity Cloud...

Hi there, Pretty much everything is in the title. When i try to build my iOS app with Unity Cloud Build, i've got 30 errors of the same type : > "- [Unity] Assets/Vuforia/Scripts/...: error CS0246:...

View Article


using System.Collections Using Directive is unnecessary(but i is)

Alright so here's the situation, in my namespace, I'm trying to include the System.Collections namespace The problem is when I try typing it in at the top, Visual Studio tells me using...

View Article

The type or namespace name `CnControls' does not exist in the namespace...

I have downloaded an asset from unity store and successfully imported it. Unity has imported it inside the folder "Standard Assets". When I try to use asset's script in my code, it gives me namespace...

View Article

Creating public variables

I am trying to create a code with the following variables and I receive this message when compiling: The type or namespace name 'Tile' could not be found. Are you missing 'UnityEngine.WSA' using...

View Article


Can't find yield namespace

Hello. I know I'm missing something simple, but I can not seem to find the namespace for yield. It's supposed to be in the System.Collections namespace (which is referenced and works because other...

View Article


Reference Script In Other Script "type or namespace nae 'myScript' cannot..."

I have 2 scripts in the same folder. In my Camera2DFollow script, this line works: public CharacterControl control; However, in my CharacterControl script, this line does not work: public...

View Article

SceneManagement does not exist in the namespace 'UnityEngine'

This has been asked several times but nothing works to me. The answers I found on the web were either: - Update to Unity 5.3 (I'm currently 5.3.4f1) - Include the Namespace (using...

View Article

Script created in namespace has limited access to everything

Hey guys, I am using the UnitySteer package, and it has a set of steering behaviours contained in a folder/namespace. I want to add one of my own steering behaviours in this folder. Problem is, that...

View Article

CS0246 type or namespace could not be found. Using Standard Asset...

I'm using the Unity Standard Asset FirstPersonController asset in my game. I am attempting to access a script that is attached to a child that I've put into the "Player" GameObject. So the setup is as...

View Article


Why is VS15 throwing errors for missing namespace 'UnityEngine' when it is...

I've been using VS15 for a while now with Unity (5.3.3f1, now upgraded to 5.3.4f1 recently) and it was initially working fine. However recently everytime I try to debug my program, I get between 18-25...

View Article

How Can I Make Completely Custom Text Input Objects

Hello, I was wondering if anyone could push me into the right direction as to being able to create my own custom text or numerical input fields with out using any of unity ui and just in c# code. It...

View Article


Using Cecil in Unity

I am trying to use Cecil, a library written by Jb Evain to generate and inspect programs and libraries in the ECMA CIL format. See link :...

View Article

Can I use the UnityEngine namespace in a personal Application?

I just want to know if this is legal? The reason I'm asking is. I am making a virtual Shop using unity. I will be using Unity to make the client but I am make a windows form server using .net sockets....

View Article


Referencing another C# Script Error

I am receiving the following error: *The type or namespace name 'Bust' could not be found (are you missing a using directive or an assembly reference?)* The script Bust.cs is on my BustedBox gameobject...

View Article

Oledb and Odbc missing in System.Data

I'm trying to read a database using either System.Data.Oledb or System.Data.Odbc, but neither of them are in the Unity version of System.Data. Is there any way that I can use these libraries?

View Article

MyClockScript.cs(6,14): error CS0101: The namespace `global::' already...

I don't see the error anywhere and it's on two other scripts : Here is the script : using UnityEngine; using System.Collections; using UnityEngine.UI; using UnityEngine.SceneManagement; public class...

View Article
Browsing all 398 articles
Browse latest View live


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