示例#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
文件: 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> ();
 }
示例#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
文件: 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> ();
 }
示例#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;
 }