示例#1
0
        public void ChangesState()
        {
            canvas.enabled = false;
            canvasManager.ChangeState();

            Assert.IsTrue(canvas.enabled);

            canvas.enabled = true;
            canvasManager.ChangeState();

            Assert.IsFalse(canvas.enabled);
        }