예제 #1
0
        protected virtual void  Awake()
        {
            this.inspectedClass = new ClassInspector();
            this.inspectedClass.ExtractTypeProperties(typeof(SystemInfo));
            this.inspectedClass.Construct();

            this.cacheSupportRenderTextureFormat = this.RequestSupportedRenderTextureFormat();
            this.cacheSupportTextureFormat       = this.RequestSupportedTextureFormat();
        }
예제 #2
0
 protected virtual void  Awake()
 {
     this.inspectedClass = new ClassInspector();
     this.inspectedClass.ExtractTypeProperties(typeof(Screen));
     this.inspectedClass.ExtractTypeProperties(typeof(Cursor));
     this.inspectedClass.ExtractTypeFields(typeof(Display));
     this.inspectedClass.AddDrawer(typeof(Display[]), this.DrawDisplay, this.CopyDisplay);
     this.inspectedClass.Construct();
 }
예제 #3
0
        protected virtual void  Awake()
        {
            Debug.Assert(this.gameConsole != null, "FPSCounterData requires field \"Game Console\".", this);

            this.inspectedClass = new ClassInspector();
            this.inspectedClass.ExtractTypeProperties(typeof(Input));
            this.inspectedClass.Construct();

            this.gameConsole.GameConsoleEnableChanged += this.OnGameConsoleEnableChanged;
        }
예제 #4
0
 protected virtual void  Awake()
 {
     this.inspectedClass = new ClassInspector();
     this.inspectedClass.ExtractTypeProperties(typeof(Application));
     this.inspectedClass.Construct();
 }
예제 #5
0
 protected virtual void  Awake()
 {
     this.inspectedClass = new ClassInspector();
     this.inspectedClass.ExtractTypeProperties(typeof(AudioSettings));
     this.inspectedClass.Construct();
 }