Ejemplo n.º 1
0
    public override void Init(string prefab_path, int layer, Vector3 pos, float roatate = 0f)
    {
        this.m_fNavStoppingDis = 2f;
        base.Init(prefab_path, layer, pos, roatate);
        M10001_Dyzhs_Event m10001_Dyzhs_Event = this.m_curModel.gameObject.AddComponent <M10001_Dyzhs_Event>();

        m10001_Dyzhs_Event.m_monRole = this;
        base.maxHp = (base.curhp = 400);
    }
Ejemplo n.º 2
0
    override protected void Model_Loaded_Over()
    {
        M10001_Dyzhs_Event mhr = m_curModel.gameObject.AddComponent <M10001_Dyzhs_Event>();

        mhr.m_monRole = this;
    }