void Start() { Main = GameObject.Find("MainScript").GetComponent <ControlPanel>(); LightControl_Script = GameObject.Find("MainScript").GetComponent <LightNumber>(); DisplayMode_Script = GameObject.Find("MainScript").GetComponent <DisplayMode>(); menu_rect.x = 100f; menu_rect.y = 300f; menu_rect.width = 300f; menu_rect.height = 180f; ModelInitialize(); }
// Use this for initialization void Start() { //MachineZero = new Vector3(-0.3187108f, 1.609089f, -0.4093075f); //To be modified MachineZero = new Vector3(0.1812892f, 2.119089f, 0.3906925f); X_part = GameObject.Find("X_axis1").transform; Y_part = GameObject.Find("Y_axis1").transform; Z_part = GameObject.Find("Z_axis1").transform; move_sound = (AudioClip)Resources.Load("Audio/move"); Main = GameObject.Find("MainScript").GetComponent <ControlPanel>(); CooSystem_Script = GameObject.Find("MainScript").GetComponent <CooSystem>(); LightControl_Script = GameObject.Find("MainScript").GetComponent <LightNumber>(); }
public abstract Task TurnLightOffAsync(LightNumber number);
public abstract Task <bool> IsLightOffAsync(LightNumber number);