Code : Tout sélectionner
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class hallo : MonoBehaviour {
public void Start () {
gameObject.GetComponent<Halo>().enabled = true;
}
}
Assets/hallo.cs(9,26): error CS0122: `UnityEngine.Halo' is inaccessible due to its protection level
.