top of page

オブジェクト表示&非表示(Renderer)

    public Renderer test;

    void Start () {
        //消したいならfalse、表示したいならtrue
        test.enabled = false;
    }

 

bottom of page