示例#1
0
    protected void ProcessBaseConfiguration()
    {
        GameMgrConfig gameMgrConfig = ScriptableObjectMgr.Load <GameMgrConfig>(CONFIGURATION_FOLDER + "/" + CONFIGURATION_FILE);

        m_storageFileName = gameMgrConfig.m_storageMgrConfig.StorageFileName;

        m_IM_buttonId    = gameMgrConfig.m_inputMgrConfig.ButtonIdToPointAndClick;
        m_IM_PAndCActive = gameMgrConfig.m_inputMgrConfig.PointAndClickActive;
    }
示例#2
0
    protected void ProcessBaseConfiguration()
    {
        //Carga de configuración
        GameMgrConfig gameMgrConfig = ScriptableObjectMgr.Load <GameMgrConfig>(CONFIGURATION_FOLDER + "/" + CONFIGURATION_FILE);

        //Guardar partidas o congiguración, guardamos lo que pone en la configuración
        m_storageFileName = gameMgrConfig.m_storageMgrConfig.StorageFileName;

        m_IM_buttonId    = gameMgrConfig.m_inputMgrConfig.ButtonIdToPointAndClick;
        m_IM_PAndCActive = gameMgrConfig.m_inputMgrConfig.PointAndClickActive;
    }