Inheritance: UnityEngine.MonoBehaviour
コード例 #1
0
        //private WindowResizer resizer = new WindowResizer(
        //            new Rect(50, 255, 380, 240),
        //            new Vector2(380, 240));
        //private Vector2 scroll = new Vector2();
        //private KeyBind captureTarget;

        public MainWindow(ExplorerTrackBehaviour mainBehaviour) : base("Persistent Trails " + GUIResources.VERSION)
        {
            this.mainBehaviour = mainBehaviour;
            SetResizeX(true);
            SetResizeY(true);

            windowPos = new Rect(60, 60, 380, 300);

            trackColorTextures = new List <Texture2D>();
        }
コード例 #2
0
        //private IButton mainWindowButton;

        public ExplorerTrackBehaviour()
        {
            Instance          = this;
            mainWindow        = new MainWindow(this);
            recordingInterval = 5;
        }