public Text text_CountDown; // 表示用テキスト //=============================================== void Start() { //Componentを取得 audioSource = GetComponent <AudioSource>(); //シーン管理マネージャの取得 =================================== SceneNavigatorObj = GameObject.Find("SceneNavigator"); SceneScript = SceneNavigatorObj.GetComponent <SceneNavigator>(); //============================================================== image4_01.SetActive(false); image4_02.SetActive(false); image4_03.SetActive(false); image4_END.SetActive(false); Flag_4_01 = false; Flag_4_02 = false; Flag_4_03 = false; // カウントダウン開始秒数のセット(整数で表示されるのでカウントダウンしたい数字+1.0fにする) MaxTime = 6.0f; Seconds = 0; //=============================================== RetryPanelMakeObj = GameObject.Find("RetryPanelMake"); RetryScript = RetryPanelMakeObj.GetComponent <RetryPanelMake>(); }
public static int operate; //ゲッター用 // Start is called before the first frame update void Start() { RetryPanelMakeObj = GameObject.Find("RetryPanelMake"); RetryPanelMakeScript = RetryPanelMakeObj.GetComponent <RetryPanelMake>(); boardText = this.GetComponent <Text>(); touchScript = GameObject.Find("TouchManager").GetComponent <Touch>(); Operate_kawaru = Operate; }
// Start is called before the first frame update void Start() { //ステージマネージャーの取得 StageManager = GameObject.Find("StageManager"); //マネージャーが持っているmanagerスクリプト script = StageManager.GetComponent <manager>(); RetryPanelMakeObj = GameObject.Find("RetryPanelMake"); RetryPanelMakeScript = RetryPanelMakeObj.GetComponent <RetryPanelMake>(); boardText = this.GetComponent <Text>(); touchScript = GameObject.Find("TouchManager").GetComponent <Touch>(); Operate_kawaru = Operate; }