Quantcast
Channel: Questions in topic: "cs1729"
Browsing latest articles
Browse All 10 View Live

Fixed but there is still one error (see code for error) help please :)

using UnityEngine; using System.Collections; using System; //added to access the enum classpublic class BaseCharacter : MonoBehaviour { private string _name; private int _level; private uint...

View Article



Problem with C# script.

**Errors:** Assets/Scripts/Character Classes/BaseCharacter.cs(85,141): error CS1729: The type `ModifyingAttribute' does not contain a constructor that takes `2' arguments Assets/Scripts/Character...

View Article

Crouching Help

Here is the script: public void crouch () { controller.height = crouchHeight; controller.center = new Vector3 (0, -0.5f, 0); mainCamera.transform.localPosition.y -= new float(crouchHeight); crouching =...

View Article

Creating a Space to Type a Name

I am trying to create a space where player's can enter a name for their hero when they start a new game. Here is my code: using UnityEngine; using System.Collections; public class Namespace :...

View Article

Literally just started coding in c#, having error cs1729

I copied the example script exactly, but it isn't working. I know I'm a noob, but can you please help? The error is saying:Assets/Scripts/PlayerController.cs(11,83): error CS1729: The type...

View Article

Browsing latest articles
Browse All 10 View Live




Latest Images