(2 error failed to find the type or namespace name "HoleController" (whether or not the lack of a using directive or assembly reference?)

Using System. The Collections;
Using System. Collections. Generic;
using UnityEngine;
Using Assets. DEvelop_scripts;
Public class Gamecontroller: MonoBehaviour
{
# region Sigleton
Public static Gamecontroller _instance.
Public Gamecontroller GetInstance
{
The get {return _instance; }
}
Void Awake ()
{
_instance=this;
}
# endregion
//the only global variable
Private GameState this_State=GameState. Play;
Public GameState GetState
{
The set {this_State=value; }
The get {return this_State; }
}
Private GameState lastState;
Private HoleController [] HoleController;
Void the Start ()
{
LastState=this_State;
SendNotice ();
}
Void the Update ()
{
If (lastState!=this_State)
SendNotice ();
}
Void SendNotice ()
{
If (this_State!=GameState. Play)
{
for(int i=0; I
}
}
Public void ChangePlay ()
{
This_State=GameState. Play;
}
Public void ChangeEnd ()
{
This_State=GameState. End;
}
}
CodePudding user response:

This is the picture of the code, I hope the great god explained in detail