Пример #1
0
    // 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;
    }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     wp = GameObject.Find ("Play_GameController").GetComponent<play_Wrapper> ();
     gc = GameObject.Find ("Play_GameController").GetComponent<Play_GameController> ();
     tc = GameObject.Find ("TitleController").GetComponent<TitleController> ();
     sp = this.GetComponent<SpriteRenderer> ();
     turn_p = -1;
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     wp     = GameObject.Find("Play_GameController").GetComponent <play_Wrapper> ();
     gc     = GameObject.Find("Play_GameController").GetComponent <Play_GameController> ();
     tc     = GameObject.Find("TitleController").GetComponent <TitleController> ();
     sp     = this.GetComponent <SpriteRenderer> ();
     turn_p = -1;
 }
Пример #4
0
 // Use this for initialization
 void Start()
 {
     wp = GameObject.Find ("Play_GameController").GetComponent<play_Wrapper> ();
     gc = GameObject.Find ("Play_GameController").GetComponent<Play_GameController> ();
     t = this.GetComponent<Text> ();
 }
Пример #5
0
 // Use this for initialization
 void Start()
 {
     mt = GameObject.Find("Play_GameController").GetComponent <MoveTypeSc> ();
     pw = GameObject.Find("Play_GameController").GetComponent <play_Wrapper> ();
 }
Пример #6
0
    // 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;
    }
Пример #7
0
 // Use this for initialization
 void Start()
 {
     mt = GameObject.Find ("Play_GameController").GetComponent<MoveTypeSc> ();
     pw = GameObject.Find ("Play_GameController").GetComponent<play_Wrapper> ();
 }
Пример #8
0
 // Use this for initialization
 void Start()
 {
     wp = GameObject.Find("Play_GameController").GetComponent <play_Wrapper> ();
     gc = GameObject.Find("Play_GameController").GetComponent <Play_GameController> ();
     t  = this.GetComponent <Text> ();
 }
Пример #9
0
 // Use this for initialization
 void Start()
 {
     wp     = GameObject.Find("Play_GameController").GetComponent <play_Wrapper> ();
     tc     = GameObject.Find("TitleController").GetComponent <TitleController> ();
     turn_p = -1;
 }