//Version of Unity 5.3.1f1//
function Start()
{
Invoke ("Toogle", (Random.Range(22.0, 22.5)));
}
function Toggle()
{
GameObject.SetActive = !GameObject.SetActive;
Invoke ("Toogle", (Random.Range(22.0, 22.5)));
}
//Please solve this problem, thanks//
↧
ERROR: BCE0020 an istance of type 'UnityEngine' is required to access not static membet 'SetActive'
↧