중3이고 게임개발독학하는데 한1~2개월된거같은데

선린솦과합격하기도해서 이쪽으로 밀어볼려는데

지금이정도면 수준이 어떤건가요

언어해본거는 js css jsp c C# 자바 안드로이드 파이썬 이정도? 인거같은데


수정했어요 감사합니다~

using System.Collections;

using System.Collections.Generic;

using System.Threading;

using UnityEngine;

using UnityEngine.UI;


public class PlayerMove : MonoBehaviour

{

    public float speed = 200f;

    public float runspeed = 8f;

    public float jumpspeed =2f;

    float mx = 0;

    Rigidbody rigid;

    AudioSource audioo;

    public static bool jumping = false;

    public static bool walking = false;

    public static bool ctrll = false;

    Vector3 dir;

    // Start is called before the first frame update

    void Start()

    {

        rigid = GetComponent<Rigidbody>();

        audioo = GetComponent<AudioSource>();

    }


    // Update is called once per frame

    void Update()

    {

        float mousex = Input.GetAxis("Mouse X");

        mx += mousex * speed;

        transform.eulerAngles = new Vector3(0, mx, 0);


        float h = Input.GetAxis("Horizontal");

        float v = Input.GetAxis("Vertical");

        

        //소리

        if((h!=0 || v != 0) && !jumping) //여기다 audioo.isplaying넣어주면 소리가 겹침

        {

            

            if (!audioo.isPlaying)

            {

                walking = true;

                audioo.Play();

            }

            

        }

        else

        {

            walking = false;

            audioo.Stop();

        }


        //이동

        if (jumping)

        {

            runspeed = 6f;

        }

        else if (ctrll == true)

        {

            runspeed = 4f;

        }

        else

        {


            runspeed = 8f;

        }

        float hh = h * runspeed * Time.deltaTime;

        float vv = v * runspeed * Time.deltaTime;

        rigid.velocity = new Vector3(hh,0,vv);

        //점프

        if (Input.GetKey(KeyCode.LeftControl))

        {

            if (ctrll == false)

            {

                transform.position = new Vector3(transform.position.x, transform.position.y - 0.420f, transform.position.z);

            }

            ctrll = true;

            transform.localScale = new Vector3(1, 0.5f, 1);

            

            

        }

        else if (Input.GetButtonDown("Jump") && !jumping)

        {

            rigid.AddForce(transform.up * jumpspeed, ForceMode.Impulse);

            jumping = true;

        }

        

        else

        {

            if (ctrll == true)

            {

                ctrll = false;

                transform.localScale = new Vector3(1, 1, 1);

                transform.position = new Vector3(transform.position.x, transform.position.y + 0.420f, transform.position.z);

            }

                

            

        }

    }

    

    private void OnCollisionEnter(Collision collision)

    {

        if (collision.gameObject.tag == "jumpcheck")

        {

            jumping = false;

        }

    }

}

첫번쨰코드고요


using System.Collections;

using System.Collections.Generic;

using UnityEngine;


public class CamMove : MonoBehaviour

{

    public float speed = 200f;

    float mx = 0;

    float my = 0;

    public Transform target;

    // Start is called before the first frame update

    void Start()

    {

        

    }


    // Update is called once per frame

    void Update()

    {

        float mouseX = Input.GetAxis("Mouse X");

        float mouseY = Input.GetAxis("Mouse Y");

        mx += mouseX * speed;

        my += mouseY * speed;

        my = Mathf.Clamp(my, -90f, 90f);

        transform.eulerAngles = new Vector3(-my, mx, 0);


        transform.position= target.position;

        if (Input.GetKey(KeyCode.LeftControl))

        {

            if (PlayerMove.ctrll == false)

            {

                transform.position = new Vector3(transform.position.x, transform.position.y - 0.863f, transform.position.z);

            }

            

        }


        else

        {

            if (PlayerMove.ctrll==true)

            {

                transform.position = new Vector3(transform.position.x, transform.position.y + 0.863f, transform.position.z);

            }

            

        }

            


        

    }

}