상속: ProcBase
예제 #1
0
파일: Fight.cs 프로젝트: rouchen/UnityDemo
    /// <summary>
    /// 
    /// </summary>
    void Start()
    {
        tmpstr = typeof(FightInrto).ToString();
        FightInrto introp = new FightInrto(this, tmpstr);
        procMgr.Add(tmpstr, introp);

        tmpstr = typeof(FightReady).ToString();
        FightReady readyp = new FightReady(this, tmpstr);
        procMgr.Add(tmpstr, readyp);

        tmpstr = typeof(FightGame).ToString();
        FightGame gamep = new FightGame(this, tmpstr);
        procMgr.Add(tmpstr, gamep);

        tmpstr = typeof(FightPowerUp).ToString();
        FightPowerUp powp = new FightPowerUp(this, tmpstr);
        procMgr.Add(tmpstr, powp);

        tmpstr = typeof(FightFinish).ToString();
        FightFinish fishp = new FightFinish(this, tmpstr);
        procMgr.Add(tmpstr, fishp);

        tmpstr = typeof(FightResult).ToString();
        FightResult resp = new FightResult(this, tmpstr);
        procMgr.Add(tmpstr, resp);

        tmpstr = typeof(FightWarning).ToString();
        FightWarning wrnp = new FightWarning(this, tmpstr);
        procMgr.Add(tmpstr, wrnp);

        procMgr.SetCurrProc("FightInrto");
    }
예제 #2
0
파일: Fight.cs 프로젝트: rouchen/UnityDemo
    /// <summary>
    ///
    /// </summary>
    void Start()
    {
        tmpstr = typeof(FightInrto).ToString();
        FightInrto introp = new FightInrto(this, tmpstr);

        procMgr.Add(tmpstr, introp);

        tmpstr = typeof(FightReady).ToString();
        FightReady readyp = new FightReady(this, tmpstr);

        procMgr.Add(tmpstr, readyp);

        tmpstr = typeof(FightGame).ToString();
        FightGame gamep = new FightGame(this, tmpstr);

        procMgr.Add(tmpstr, gamep);

        tmpstr = typeof(FightPowerUp).ToString();
        FightPowerUp powp = new FightPowerUp(this, tmpstr);

        procMgr.Add(tmpstr, powp);


        tmpstr = typeof(FightFinish).ToString();
        FightFinish fishp = new FightFinish(this, tmpstr);

        procMgr.Add(tmpstr, fishp);


        tmpstr = typeof(FightResult).ToString();
        FightResult resp = new FightResult(this, tmpstr);

        procMgr.Add(tmpstr, resp);

        tmpstr = typeof(FightWarning).ToString();
        FightWarning wrnp = new FightWarning(this, tmpstr);

        procMgr.Add(tmpstr, wrnp);

        procMgr.SetCurrProc("FightInrto");
    }