Ejemplo n.º 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();
        }
Ejemplo n.º 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();
 }
Ejemplo n.º 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;
        }
Ejemplo n.º 4
0
 protected virtual void  Awake()
 {
     this.inspectedClass = new ClassInspector();
     this.inspectedClass.ExtractTypeProperties(typeof(Application));
     this.inspectedClass.Construct();
 }
Ejemplo n.º 5
0
 protected virtual void  Awake()
 {
     this.inspectedClass = new ClassInspector();
     this.inspectedClass.ExtractTypeProperties(typeof(AudioSettings));
     this.inspectedClass.Construct();
 }