// Use this for initialization void Start() { W = this.GetComponent <play_Wrapper> (); Mv = this.GetComponent <MoveTypeSc> (); tc = GameObject.Find("TitleController").GetComponent <TitleController> (); //初期化処理 p = true; for (int i = 0; i < 40; i++) { clone[i] = null; survival [i] = true; actor[i, 2] = 0; } for (int i = 0; i < 9; i++) { for (int j = 0; j < 9; j++) { stage [i, j] = -1; } } fs = false; role = -1; //立場の初期値は観戦者 t = 0f; player = -1; exit = false; fader = GameObject.Find("FadeController").GetComponent <Fade> (); fader.Fade_p = true; }
// Use this for initialization void Start() { mt = GameObject.Find("Play_GameController").GetComponent <MoveTypeSc> (); pw = GameObject.Find("Play_GameController").GetComponent <play_Wrapper> (); }
// Use this for initialization void Start() { gc = GameObject.Find("Play_GameController").GetComponent <Play_GameController> (); move = GameObject.Find("Play_GameController").GetComponent <MoveTypeSc> (); posbox = this.GetComponent <PosBox> (); }
// Use this for initialization void Start() { gc = GameObject.Find ("Play_GameController").GetComponent<Play_GameController> (); move = GameObject.Find ("Play_GameController").GetComponent<MoveTypeSc> (); posbox = this.GetComponent<PosBox> (); }
// Use this for initialization void Start() { W = this.GetComponent<play_Wrapper> (); Mv = this.GetComponent<MoveTypeSc> (); tc = GameObject.Find ("TitleController").GetComponent<TitleController> (); //初期化処理 p = true; for (int i=0; i<40; i++) { clone[i] = null; survival [i] = true; actor[i,2] = 0; } for (int i=0; i<9; i++) for (int j=0; j<9; j++) stage [i, j] = -1; fs = false; role = -1; //立場の初期値は観戦者 t = 0f; player = -1; exit = false; fader = GameObject.Find ("FadeController").GetComponent<Fade> (); fader.Fade_p = true; }
// Use this for initialization void Start() { mt = GameObject.Find ("Play_GameController").GetComponent<MoveTypeSc> (); pw = GameObject.Find ("Play_GameController").GetComponent<play_Wrapper> (); }