Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Hello Guys Thats my code and i have problem to load this to my code

Discussion in 'Scripting' started by WuwertujZiomal, Mar 26, 2021.

  1. WuwertujZiomal

    WuwertujZiomal

    Joined:
    Mar 26, 2021
    Posts:
    1
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    public class PlayerMovement : MonoBehaviour
    {
    void Start()
    {
    Debug.Log(Siema menelu);
    }
    void Update()
    {

    }
    }
    Thats create error CS1003
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,756
    How to understand compiler and other errors and even fix them yourself:

    https://forum.unity.com/threads/ass...3-syntax-error-expected.1039702/#post-6730855

    If you post a code snippet, ALWAYS USE CODE TAGS:

    How to use code tags: https://forum.unity.com/threads/using-code-tags-properly.143875/

    How to report your problem productively in the Unity3D forums:

    http://plbm.com/?p=220

    Remember with programming, 100% of spelling, capitalization, punctuation and spacing must be PERFECT.
     
    JoNax97 likes this.
  3. jasonasaad2

    jasonasaad2

    Joined:
    Nov 30, 2020
    Posts:
    51
    You need to explain your error more.

    EDIT:
    Code (CSharp):
    1. using System.Collections;
    2. using System.Collections.Generic;
    3. using UnityEngine;
    4. public class PlayerMovement : MonoBehaviour
    5. {
    6. void Start()
    7. {
    8. Debug.Log(Siema, menelu);
    9. }
    10. void Update()
    11. {
    12.  
    13. }
    14. }
    See if that works
    Also use code tags to highlight which parts in your post are code and text https://forum.unity.com/threads/using-code-tags-properly.143875/
     
    Last edited: Mar 27, 2021