Ejemplo n.º 1
0
    public void StartEvent(IMode mode)
    {
        this.mode = mode;
        int i = 0;

        int.TryParse(tmp.text, out i);
        if (mode.GetType() == typeof(WorldBuilderMain))
        {
            (mode as WorldBuilderMain).ZoneChangeEvent(i);
        }
    }