示例#1
0
    // Update is called once per frame
    void Update()
    {
        if (Time.frameCount == 100)
        {
            mb.ShowHide(null, objs);
            mb.ApplyShowHide();
            Debug.Log("should have disappeared");
        }

        if (Time.frameCount == 200)
        {
            mb.ShowHide(objs, null);
            mb.ApplyShowHide();
            Debug.Log("should show");
        }
    }