예제 #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
파일: AthersB.cs 프로젝트: gan3ma/Client
 // Use this for initialization
 void Start()
 {
     mt = GameObject.Find("Play_GameController").GetComponent <MoveTypeSc> ();
     pw = GameObject.Find("Play_GameController").GetComponent <play_Wrapper> ();
 }
예제 #3
0
 // 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> ();
 }
예제 #4
0
파일: Flyer.cs 프로젝트: gan3ma/Client
 // 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> ();
 }
예제 #5
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;
    }
예제 #6
0
파일: AthersB.cs 프로젝트: gan3ma/Client
 // Use this for initialization
 void Start()
 {
     mt = GameObject.Find ("Play_GameController").GetComponent<MoveTypeSc> ();
     pw = GameObject.Find ("Play_GameController").GetComponent<play_Wrapper> ();
 }