Quantcast
Viewing all articles
Browse latest Browse all 21942

Błąd C# Unity2D Using directive is unnesscary.

Witam!

Mam mały problem, mam błąd w system.collections wyświetla mi się Using directive is unnesscary.

Czy ktoś mógłby mi pomóc?

Jeśli tak to proszę o napisanie to co mam nie tak, to mój kod:

------------------------------------------------------------------

using UnityEngine;
using System.Collections;

public bool CzyPokazac;

public class Level1 : MonoBehaviour {

    // Use this for initialization
    void Start () {
        
    }
    
    // Update is called once per frame
    void Update () {

    }
    void OnTriggerStay2D(Collider2D col)
    {
        CzyPokazac = true;
    }
}
 ------------------------------------------------------------------

Proszę o jak najszybszą odp.

Viewing all articles
Browse latest Browse all 21942