Exemplo n.º 1
0
        ///------------Methods Part-------------///

        public void Initialize(RCDManager _manager)
        {
            Manager         = _manager;
            CmdHelperStruct = new commandHelperObject();

            int i = 0;

            for (i = 1; i < GeneralInformations.childCount; i++)
            {
                sysInfoText.Add(GeneralInformations.GetChild(i).GetComponent <Text>());
            }

            for (i = 1; i < SelectedElementInfo.childCount; i++)
            {
                selectedElementText.Add(SelectedElementInfo.GetChild(i).GetComponent <Text>());
            }


            sysInfo.Add("FPS : " + fps);
            sysInfo.Add("since start : " + Time.realtimeSinceStartup.ToString("0:00"));
            sysInfo.Add("Resolution : " + Screen.width + " x " + Screen.height);
            sysInfo.Add(System.DateTime.Now.ToString());
            sysInfo.Add(SystemInfo.operatingSystem);
            sysInfo.Add("RAM : " + SystemInfo.systemMemorySize.ToString() + " GC Memory : " + SystemInfo.graphicsMemorySize.ToString());
            sysInfo.Add("Device infos : " + SystemInfo.deviceName + " " + SystemInfo.deviceType.ToString());
            sysInfo.Add(SystemInfo.graphicsDeviceName);
            sysInfo.Add(SystemInfo.deviceModel);

            SetGeneralInformations();

            SetHierarchy(CommandHelperHierarchy.Commands, "");

            MainCanvas.enabled        = Active;
            CommandInputField.enabled = Active;
        }
Exemplo n.º 2
0
        void Awake()
        {
            LoggerManager = this;

            Interface = GetComponent <RCDInterface>();

            Commands        = new RCDCommands(this);
            InternalItems   = new RCDInternalItems();
            InternalMethods = new RCDInternalMethods(this);
            Serializer      = new RCDSerializer(this);

            InternalMethods.Initialize();
            Commands.InitializeMethods();
            InternalItems.InitializeItems();
            Interface.Initialize(this);

            DontDestroyOnLoad(this);
        }
Exemplo n.º 3
0
        ///------------Methods Part-------------///



        public RCDCommands(RCDManager manager)
        {
            Manager = manager;
        }
Exemplo n.º 4
0
 public RCDInternalMethods(RCDManager _manager)
 {
     manager = _manager;
 }
Exemplo n.º 5
0
 public RCDSerializer(RCDManager _manager)
 {
     manager = _manager;
 }