Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Nov 16, 2014 at 09:49 PM by robertbu for the following reason:

Duplicate Question

avatar image
0
Question by O.A Unity Programmer · Nov 16, 2014 at 09:48 PM · scripting problemerror messagesymbol

Error scripting message

Can somebody please tell me whats wrong here?

This error message pops-up every time I attache my script to my object: alt text

And I have already made that symbol in my coding:

alt text

skærmbillede 2014-11-16 kl. 22.07.49.png (11.5 kB)
skærmbillede 2014-11-16 kl. 22.10.22.png (131.0 kB)
Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image O.A Unity Programmer · Nov 16, 2014 at 10:03 PM 0
Share

now it says: Assets/Scripts/playermovement.cs(17,24): error CS0119: Expression denotes a´type´, where a ´variable´, ´value´, or ´method group was expected.

I can't even attache a new screenshot to show you.

I didnt change anything I just added the coding you provided me and nothing else I did the exact same as you and with the same spaces.

avatar image O.A Unity Programmer · Nov 16, 2014 at 10:04 PM 0
Share

I deleted the 16 line and replaced it with the new code.

avatar image robertbu · Nov 17, 2014 at 04:40 PM 0
Share

Note O.A Unity Programmer - that is the problem with a screen shot. I cannot see your edited code. I cannot copy and past your code and add my line to see if maybe I missed something. If you are still interested in a solution, please add your code to your question. After pasting, be sure to select the code and use the 101/010 button to format it.

avatar image O.A Unity Programmer · Nov 17, 2014 at 04:56 PM 0
Share

its okay I have already fixed the problem but thank you for your support.

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by robertbu · Nov 16, 2014 at 09:49 PM

Line 16 should be:

 input = new Vector3(Input.GetAxis("Horizontal"), 0, Input.GetAxis("Vertical"));

Note I changed 'Input' to 'input' and removed two ')'. For every '(' there should be a matching ')'.

For future questions, please don't include the code as an image. Insert the code as text, select the code, and use the 101/010 button.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Error on script for detecting the terrain texture 2 Answers

First Person Controller Script not working 3 Answers

my Monodevelop can't code, any help or solution? 2 Answers

C# script editor won't open? What should I do 2 Answers

Why i keep getting this message : Wrong response ? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges